summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
authorWang Xingchao <xingchao.wang@linux.intel.com>2013-06-24 17:10:18 +0400
committerTakashi Iwai <tiwai@suse.de>2013-06-24 16:08:57 +0400
commite1a4dca6711c68b6fcc4a236b3475f25dbf227ae (patch)
treef837b6f3efc4aa9e1cdfe896ec8d070dd873e388 /sound/pci/hda/patch_hdmi.c
parent3af3f356e16041c3353210214da601782e2cd8b4 (diff)
downloadlinux-e1a4dca6711c68b6fcc4a236b3475f25dbf227ae.tar.xz
ALSA: hda - Remove unused variable
Signed-off-by: Wang Xingchao <xingchao.wang@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 49ef8f8eb5e9..8428763de153 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -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);
}