ALSA: hdsp: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 22:20:06 +0000 (22:20 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:29:26 +0000 (08:29 +0100)
commit0cc629722221701a1b1030477c44dfbaca6c110d
tree041729e28ddba402314862fe74ad5bcb6ab30bf0
parent49d9e43f36fd4b71a4c1888f86c09cf73be73d0b
ALSA: hdsp: remove redundant assignment to variable err

Variable err is being assigned with a value that is never read, it is
assigned a new value in the next statement. 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/20200208222006.37376-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c