linux-stable/sound/pci
Pierre-Louis Bossart 518fe506df ALSA: pci/emu10k1: remove 'set but not used' warning
Fix W=1 warning. The loopsize variable is only used in compiled-out
code, so mark with __maybe_unused.

sound/pci/emu10k1/emu10k1_patch.c: In function
‘snd_emu10k1_sample_new’:
sound/pci/emu10k1/emu10k1_patch.c:30:22: warning: variable ‘loopsize’
set but not used [-Wunused-but-set-variable]
   30 |  int truesize, size, loopsize, blocksize;
      |                      ^~~~~~~~

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200702193604.169059-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-07-07 12:09:45 +02:00
..
ac97 ALSA: Fix misspellings of "Analog Devices" 2020-04-17 11:38:03 +02:00
ali5451
asihpi ALSA: pci/asihpi: remove 'set but not used' warning 2020-07-07 12:03:54 +02:00
au88x0
aw2 ALSA: pci/aw2-saa7146: remove 'set but not used' warning 2020-07-07 12:05:14 +02:00
ca0106
cs46xx
cs5535audio
ctxfi ALSA: pci/ctxfi: fix kernel-doc warnings 2020-07-07 12:05:56 +02:00
echoaudio ALSA: pci/echoaudio: remove 'set but not used' warning 2020-07-07 12:05:02 +02:00
emu10k1 ALSA: pci/emu10k1: remove 'set but not used' warning 2020-07-07 12:09:45 +02:00
hda ALSA: hda: fix SND_HDA_GENERIC kconfig & build 2020-07-07 10:26:26 +02:00
ice1712 ALSA: iec1712: Initialize STDSP24 properly when using the model=staudio option 2020-05-18 19:58:07 +02:00
korg1212
lola
lx6464es
mixart
nm256
oxygen ALSA: oxygen: use true,false for bool variables 2020-04-22 11:41:35 +02:00
pcxhr
riptide
rme9652
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c