diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-01 09:28:07 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-01 09:28:07 -0500 |
commit | 480cf663e6988b3e79b570b42d2dbdb6c2ba9b94 (patch) | |
tree | 6d6152e338adc2c095bc58c9c94f1a77a5453cc1 /sound | |
parent | 02834f112d159eb87b584c7df56bddc5beeff5b3 (diff) |
ALSA: Fix a compile warning in cs46xx_lib.c
Fix a build warning
sound/pci/cs46xx/cs46xx_lib.c:3643: warning: unused variable āiā
when CONFIG_SND_CS46XX_NEW_DSP=n.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index fb6dc3980257..8ab07aa63652 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -3640,7 +3640,10 @@ int snd_cs46xx_resume(struct pci_dev *pci) | |||
3640 | { | 3640 | { |
3641 | struct snd_card *card = pci_get_drvdata(pci); | 3641 | struct snd_card *card = pci_get_drvdata(pci); |
3642 | struct snd_cs46xx *chip = card->private_data; | 3642 | struct snd_cs46xx *chip = card->private_data; |
3643 | int i, amp_saved; | 3643 | int amp_saved; |
3644 | #ifdef CONFIG_SND_CS46XX_NEW_DSP | ||
3645 | int i; | ||
3646 | #endif | ||
3644 | 3647 | ||
3645 | pci_set_power_state(pci, PCI_D0); | 3648 | pci_set_power_state(pci, PCI_D0); |
3646 | pci_restore_state(pci); | 3649 | pci_restore_state(pci); |