]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: info: remove redundant assignment to variable c
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 22:42:06 +0000 (22:42 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:30:02 +0000 (08:30 +0100)
commit28fe85324a8b3e48cc1ea44f991fbdb517137261
treeb911186243a64b9e8d7b4a61c4978ab86af320ba
parent4a50bcd0389a0bc9434b15e028d8d16ebf9bd196
ALSA: info: remove redundant assignment to variable c

Variable c is being assigned with the value -1 that is never read,
it is assigned a new value in a following while-loop. The assignment
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200208224206.38540-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/info.c