summaryrefslogtreecommitdiff
path: root/lib/embedded-cli/embedded_cli.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-18 17:42:51 +0700
committerhathach <[email protected]>2026-06-18 17:42:51 +0700
commit3710e6e5a580fadb53ec2e6cbf12dd6fb65c39c2 (patch)
tree3b72f5daf2aa461ca337a5e473722b630a771a9b /lib/embedded-cli/embedded_cli.h
parentedf675f468a9ff7ac8c5e14d41d1060f3296fb2b (diff)
examples/uac2: drop redundant entity_id check in request helpers
The audio20 get/set entity dispatchers already extract entity_id from wIndex and route to the matching clock / feature-unit helper, so each helper's own entity_id re-derivation and TU_ASSERT(entity_id == ...) was dead: the helper is only ever reached for its one entity. Unknown entities are still rejected by the dispatcher's "not handled" path. Remove the redundant local, the dead assert, and the constant "entity" field from each helper's not-supported log (the message text already identifies the entity). The local is dropped entirely rather than kept for the log, since TU_LOG1 compiles out in release and would leave it unused. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'lib/embedded-cli/embedded_cli.h')
0 files changed, 0 insertions, 0 deletions