Skip to content

Commit

Permalink
ALSA: pci/korg1212: completely remove 'set but not used' warnings
Browse files Browse the repository at this point in the history
Commit 6cdc01e ("ALSA: pci/korg1212: remove 'set but not used'
warnings") missed one __maybe_unused, add to enable make W=1 sound/
compilation with x86_64 allmodconfig

Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
plbossart authored and tiwai committed Aug 5, 2021
1 parent f84ba10 commit ddddc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/korg1212/korg1212.c
Original file line number Diff line number Diff line change
Expand Up @@ -2094,7 +2094,7 @@ static int snd_korg1212_create(struct snd_card *card, struct pci_dev *pci)
{
int err, rc;
unsigned int i;
unsigned iomem_size;
__maybe_unused unsigned iomem_size;
__maybe_unused unsigned ioport_size;
__maybe_unused unsigned iomem2_size;
struct snd_korg1212 *korg1212 = card->private_data;
Expand Down

0 comments on commit ddddc0d

Please sign in to comment.