summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorDavid Henningsson2015-05-11 10:23:57 +0200
committerTakashi Iwai2015-05-11 14:30:40 +0200
commitfd8a1043cdeff833017be6e5a31094f557dd53d4 (patch)
tree25856a094a1e625192090ae5a485aeee33bb1cfe /sound/pci
parentALSA: hda/tegra - Fix oops (diff)
downloadkernel-qcow2-linux-fd8a1043cdeff833017be6e5a31094f557dd53d4.tar.gz
kernel-qcow2-linux-fd8a1043cdeff833017be6e5a31094f557dd53d4.tar.xz
kernel-qcow2-linux-fd8a1043cdeff833017be6e5a31094f557dd53d4.zip
ALSA: hda - Remove unused call to "get_pin" in patch_hdmi.c
Janitorial patch (no functional change) Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_hdmi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index e8d847819d71..fd11ad7fe9f4 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -2049,9 +2049,7 @@ static int generic_hdmi_build_pcms(struct hda_codec *codec)
for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) {
struct hda_pcm *info;
struct hda_pcm_stream *pstr;
- struct hdmi_spec_per_pin *per_pin;
- per_pin = get_pin(spec, pin_idx);
info = snd_hda_codec_pcm_new(codec, "HDMI %d", pin_idx);
if (!info)
return -ENOMEM;