summaryrefslogtreecommitdiffstats
path: root/sound/pci/pcxhr/pcxhr.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-07-02 14:35:44 -0500
committerTakashi Iwai <tiwai@suse.de>2020-07-07 12:02:54 +0200
commit232af6a9057de84a17b59626d73278d2dde34c75 (patch)
tree8b9d366f6d7569a9d9335047fdf781cd29f2d3c6 /sound/pci/pcxhr/pcxhr.h
parent6a4f2b6947d0f340a40359a906d07642825ac14e (diff)
downloadlinux-stable-232af6a9057de84a17b59626d73278d2dde34c75.tar.gz
linux-stable-232af6a9057de84a17b59626d73278d2dde34c75.tar.bz2
linux-stable-232af6a9057de84a17b59626d73278d2dde34c75.zip
ALSA: pci/asihpi: remove 'set but not used' warnings
Fix W=1 warnings by removing 2 unnecessary initializations and removing a variable that's not used. sound/pci/asihpi/asihpi.c: In function ‘snd_asihpi_tuner_band_get’: sound/pci/asihpi/asihpi.c:1907:6: warning: variable ‘num_bands’ set but not used [-Wunused-but-set-variable] 1907 | u32 num_bands = 0; | ^~~~~~~~~ sound/pci/asihpi/asihpi.c: In function ‘snd_asihpi_tuner_band_put’: sound/pci/asihpi/asihpi.c:1934:6: warning: variable ‘num_bands’ set but not used [-Wunused-but-set-variable] 1934 | u32 num_bands = 0; | ^~~~~~~~~ sound/pci/asihpi/asihpi.c: In function ‘snd_asihpi_mux_info’: sound/pci/asihpi/asihpi.c:2164:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 2164 | int err; | ^~~ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200702193604.169059-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/pcxhr/pcxhr.h')
0 files changed, 0 insertions, 0 deletions