]> 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)
commit31183fc92c1df20dcfe9ef670443f9b0ece1af21
tree3ecff19e480475752be356b542587eeee4e78d4f
parentdf7013be7f4e24cef47582862fa831171671374a
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