summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-05-21 03:07:42 +0200
committerTakashi Iwai <tiwai@suse.de>2012-05-21 03:07:42 +0200
commit8a390576282abacc4cf7b79eefc226bb655fd6e6 (patch)
treec15825d8abd68685447c315536875dccac2d7502 /sound
parent09cf03b80c593b08e8b630a145e14f485200b5af (diff)
downloadlwn-8a390576282abacc4cf7b79eefc226bb655fd6e6.tar.gz
lwn-8a390576282abacc4cf7b79eefc226bb655fd6e6.zip
ALSA: hda/realtek - Fix unused variable compile warning
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-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 0d68bb0ff376..3cb1f7128b5f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2553,7 +2553,6 @@ static int alc_auto_fill_adc_caps(struct hda_codec *codec)
src = nid;
for (;;) {
int n;
- hda_nid_t conn_nid;
type = get_wcaps_type(get_wcaps(codec, src));
if (type == AC_WID_PIN)
break;