ALSA: ice1712: Delete unreachable code in aureon_add_controls()
authorDmitry Fomin <fomindmitriyfoma@mail.ru>
Sat, 25 Feb 2023 18:43:22 +0000 (21:43 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Mar 2023 13:30:46 +0000 (14:30 +0100)
commita8e98f3448e1a4b6848f213cf51720e29dcc774b
treef3e9282cb19dfddb4ebdfd16e9a21298c1b617ce
parent951606a14a8901e3551fe4d8d3cedd73fe954ce1
ALSA: ice1712: Delete unreachable code in aureon_add_controls()

If the check (id != 0x41) fails, then id == 0x41 and
the other check in 'else' branch also
fails: id & 0x0F = 0b01000001 & 0b00001111 = 0b00000001.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Dmitry Fomin <fomindmitriyfoma@mail.ru>
Link: https://lore.kernel.org/r/20230225184322.6286-2-fomindmitriyfoma@mail.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/aureon.c