Skip to content

amdb: remove identical condition check - #97

Merged
quic-plai merged 1 commit into
AudioReach:masterfrom
quic-plai:master
Jul 24, 2026
Merged

amdb: remove identical condition check#97
quic-plai merged 1 commit into
AudioReach:masterfrom
quic-plai:master

Conversation

@quic-plai

Copy link
Copy Markdown
Contributor

amdb_gpr_call_back_f() function in amdb_thread.c
has duplicate conditional branches. Both the if
and else if conditions are identical, so the else
if branch is unreachable and redundant. Remove the duplicated condition check.

closes #95

amdb_gpr_call_back_f() function in amdb_thread.c
has duplicate conditional branches. Both the if
and else if conditions are identical, so the else
if branch is unreachable and redundant. Remove the
duplicated condition check.

Signed-off-by: Patrick Lai <plai@qti.qualcomm.com>
@quic-plai
quic-plai requested review from a team July 11, 2026 04:35
@qti-markadam qti-markadam self-assigned this Jul 24, 2026

@qti-markadam qti-markadam left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

straightforward

@quic-plai
quic-plai merged commit 1dbe615 into AudioReach:master Jul 24, 2026
17 checks passed
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.

duplicate conditional branches in amdb_gpr_call_back_f() function

4 participants