projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53eff7e
)
ALSA: hda - Fix an "unused variable" compile warning
author
Takashi Iwai
<tiwai@suse.de>
Fri, 27 Feb 2009 16:52:22 +0000
(17:52 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 27 Feb 2009 16:52:22 +0000
(17:52 +0100)
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
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index
0b4afa0
..
1cc31ac
100644
(file)
--- 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*/);