From: Takashi Iwai Date: Mon, 21 May 2012 01:07:42 +0000 (+0200) Subject: ALSA: hda/realtek - Fix unused variable compile warning X-Git-Tag: firefly_0821_release~3680^2~2691^2~8^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8a390576282abacc4cf7b79eefc226bb655fd6e6;p=firefly-linux-kernel-4.4.55.git ALSA: hda/realtek - Fix unused variable compile warning Signed-off-by: Takashi Iwai --- 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;