ALSA: hda - Remove unused variable
authorWang Xingchao <xingchao.wang@linux.intel.com>
Mon, 24 Jun 2013 13:10:18 +0000 (09:10 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Jun 2013 12:08:57 +0000 (14:08 +0200)
Signed-off-by: Wang Xingchao <xingchao.wang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c

index 49ef8f8eb5e966f2621086b86ac5c38be1662c3b..8428763de153ac85bb0645fe41ccc79aac909bb8 100644 (file)
@@ -1887,7 +1887,6 @@ static void intel_haswell_fixup_connect_list(struct hda_codec *codec,
 
        /* override pins connection list */
        snd_printdd("hdmi: haswell: override pin connection 0x%x\n", nid);
-       nconns = max(spec->num_cvts, 4);
        snd_hda_override_conn_list(codec, nid, spec->num_cvts, spec->cvt_nids);
 }