]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cs4281: remove redundant assignment to variable val and remove a goto
authorColin Ian King <colin.king@canonical.com>
Fri, 5 Jul 2019 09:57:04 +0000 (10:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2019 10:10:36 +0000 (12:10 +0200)
commit857544f84313505936ef13fd47da743487e77c0b
tree3ecff19e480475752be356b542587eeee4e78d4f
parent359fa49e4a20fc8214042baffc2114922c21a26e
ALSA: cs4281: remove redundant assignment to variable val and remove a goto

The variable val is being assigned with a value that is never
read and it is being updated later with a new value. The
assignment is redundant and can be removed.  Also remove a
goto statement and a label and replace with a break statement.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs4281.c