Skip to content

tc6-regs: remove redundant declaration#75

Open
tkummermehr wants to merge 1 commit intoMicrochipTech:mainfrom
tkummermehr:static-analysis/redundant-async
Open

tc6-regs: remove redundant declaration#75
tkummermehr wants to merge 1 commit intoMicrochipTech:mainfrom
tkummermehr:static-analysis/redundant-async

Conversation

@tkummermehr
Copy link
Copy Markdown
Collaborator

Summary

Remove redundant TC6_CB_OnExtendedStatus declaration from tc6-regs.h. Declaration already present in tc6.h which is imported by this header. Fixes clang-tidy readability-redundant-declaration warning.

Test plan

  • Static analysis re-run confirms warning eliminated
  • Code logic unchanged (only redundant declaration removed)

…branch)

Declaration already present in tc6.h (imported by this header).
Implementation is in tc6-regs.c, and integrator includes tc6.h for the
callback proto, so this duplicate declaration is unnecessary.

Finding: clang-tidy/readability-redundant-declaration at libtc6/inc/tc6-regs.h:148
@tkummermehr tkummermehr requested a review from SvenSemmler May 4, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant