Skip to content

amdb: remove identical condition check#97

Open
quic-plai wants to merge 1 commit into
AudioReach:masterfrom
quic-plai:master
Open

amdb: remove identical condition check#97
quic-plai wants to merge 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
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

1 participant