ALSA: hda - Fix an "unused variable" compile warning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:15 pm

Gitweb:     http://git.kernel.org/linus/c82c8abdeef53eb0bb0504becb4e91bbccceaee8
Commit:     c82c8abdeef53eb0bb0504becb4e91bbccceaee8
Parent:     53eff7e1e0de1cde8e8cbe619f401d2578dde946
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Fri Feb 27 17:52:22 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Fri Feb 27 17:52:22 2009 +0100

    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>
---
 sound/pci/hda/patch_realtek.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0b4afa0..1cc31ac 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)
 
 	for (i = 0; i < AUTO_PIN_LAST; i++) {
 		hda_nid_t nid = spec->autocfg.input_pins[i];
-		unsigned int vref;
 		if (!nid)
 			continue;
 		alc_set_input_pin(codec, nid, AUTO_PIN_FRONT_MIC /*i*/);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda - Fix an "unused variable" compile warning, Linux Kernel Mailing ..., (Thu Mar 26, 12:15 pm)