aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-27 11:52:22 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-27 11:52:22 -0500
commitc82c8abdeef53eb0bb0504becb4e91bbccceaee8 (patch)
treea52b657bb390e0d9e2d77980a0df648f64f0113a /sound/pci/hda/patch_realtek.c
parent53eff7e1e0de1cde8e8cbe619f401d2578dde946 (diff)
ALSA: hda - Fix an "unused variable" compile warning
Forgot to remove an unused variable. sound/pci/hda/patch_realtek.c: In function ‘alc882_auto_init_analog_input’: sound/pci/hda/patch_realtek.c:7018: warning: unused variable ‘vref’ Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0b4afa0a3519..1cc31ac03522 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7015,7 +7015,6 @@ static void alc882_auto_init_analog_input(struct hda_codec *codec)
7015 7015
7016 for (i = 0; i < AUTO_PIN_LAST; i++) { 7016 for (i = 0; i < AUTO_PIN_LAST; i++) {
7017 hda_nid_t nid = spec->autocfg.input_pins[i]; 7017 hda_nid_t nid = spec->autocfg.input_pins[i];
7018 unsigned int vref;
7019 if (!nid) 7018 if (!nid)
7020 continue; 7019 continue;
7021 alc_set_input_pin(codec, nid, AUTO_PIN_FRONT_MIC /*i*/); 7020 alc_set_input_pin(codec, nid, AUTO_PIN_FRONT_MIC /*i*/);