From: Takashi Iwai Date: Mon, 21 May 2012 01:07:42 +0000 (+0200) Subject: ALSA: hda/realtek - Fix unused variable compile warning X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8a390576282abacc4cf7b79eefc226bb655fd6e6;p=~shefty%2Frdma-dev.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 0d68bb0ff37..3cb1f7128b5 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;