ALSA: pci: echoaudio: remove set but not used variable 'chip'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 8 Jan 2020 12:58:03 +0000 (20:58 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jan 2020 14:07:24 +0000 (15:07 +0100)
commit55c203a308ac74256bc240f7ce14ff45dc221a15
tree6918d83fa38f38804b4b17372f12e9d0f460f8da
parent3b2549a3740efb8af0150415737067d87e466c5b
ALSA: pci: echoaudio: remove set but not used variable 'chip'

sound/pci/echoaudio/echoaudio.c: In function snd_echo_mixer_info:
sound/pci/echoaudio/echoaudio.c:1233:20: warning: variable chip set but not used [-Wunused-but-set-variable]
sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_vmixer_info':
sound/pci/echoaudio/echoaudio.c:1300:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]

commit e67c3f0fd44c ("ALSA: pci: echoaudio: remove usage
of dimen menber of elem_value structure") left behind this
unused variable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200108125803.45584-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c