linux/sound/pci/emu10k1
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
..
emu10k1_callback.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1_main.c ASoC: pci/emu10k1: remove "set but not used' warnings 2020-07-07 12:08:45 +02:00
emu10k1_patch.c ALSA: pci/emu10k1: remove 'set but not used' warning 2020-07-07 12:09:45 +02:00
emu10k1_synth_local.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1_synth.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1.c ALSA: pci: Avoid non-standard macro usage 2019-11-06 15:47:43 +01:00
emu10k1x.c ALSA: emu10k1: delete an unnecessary condition 2020-06-05 17:56:43 +02:00
emufx.c ALSA: emu10k1: Fix annotation and cast for the recent uapi header change 2020-02-02 10:08:24 +01:00
emumixer.c ALSA: emu10k1: More constifications 2020-01-05 16:14:39 +01:00
emumpu401.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emupcm.c ALSA: pci: Drop superfluous ioctl PCM ops 2019-12-11 07:25:31 +01:00
emuproc.c ALSA: emu10k1: More constifications 2020-01-05 16:14:39 +01:00
io.c ALSA: emu10k1: More constifications 2020-01-05 16:14:39 +01:00
irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memory.c ALSA: pci: Avoid non-standard macro usage 2019-11-06 15:47:43 +01:00
p16v.c ALSA: pci: Constify snd_kcontrol_new items 2020-01-03 09:24:28 +01:00
p16v.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
p17v.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
timer.c ALSA: Constify snd_timer_hardware definitions 2020-01-03 09:24:07 +01:00
tina2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
voice.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00