diff mbox

ALSA: hda - Remove unused call to "get_pin" in patch_hdmi.c

Message ID 1431332637-8650-1-git-send-email-david.henningsson@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Henningsson May 11, 2015, 8:23 a.m. UTC
Janitorial patch (no functional change)

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 sound/pci/hda/patch_hdmi.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Takashi Iwai May 11, 2015, 12:31 p.m. UTC | #1
At Mon, 11 May 2015 10:23:57 +0200,
David Henningsson wrote:
> 
> Janitorial patch (no functional change)
> 
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>

Applied, thanks.


Takashi


> ---
>  sound/pci/hda/patch_hdmi.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
> index e8d8478..fd11ad7 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;
> -- 
> 1.9.1
>
David Henningsson May 12, 2015, 7:35 a.m. UTC | #2
On 2015-05-11 14:31, Takashi Iwai wrote:
> At Mon, 11 May 2015 10:23:57 +0200,
> David Henningsson wrote:
>>
>> Janitorial patch (no functional change)
>>
>> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
>
> Applied, thanks.

Thanks. Did you forget to push it? I can't find it on 
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git
diff mbox

Patch

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index e8d8478..fd11ad7 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;