mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ASoC: mediatek: mt8189: Remove redundant else-if branch with identical body
Fix a compiler warning about a condition with no effect: sound/mediatek/mt8189/mt8189-dai-adda.c:388:7-9: WARNING: possible condition with no effect (if == else) The MTKAIF_PROTOCOL_2 branch and the else branch both write the same value 0xB0 to AFE_AUD_PAD_TOP_CFG0, making the else-if condition meaningless. Remove the redundant branch. Signed-off-by: wangdicheng <wangdicheng@kylinos.cn> Link: https://patch.msgid.link/20260717091542.721877-2-wangdich9700@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7619cfb830
commit
fcf2a365da
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue