ALSA: hda - Remove unused call to "get_pin" in patch_hdmi.c
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 11 May 2015 08:23:57 +0000 (10:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 May 2015 12:30:40 +0000 (14:30 +0200)
Janitorial patch (no functional change)

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c

index e8d8478..fd11ad7 100644 (file)
@@ -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;