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)
commit388b00f045180179fedff4b108d40a0192684cda
tree3ecff19e480475752be356b542587eeee4e78d4f
parentbb26e0c636d42f9eda81b1cd863e59e42669dce7
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