]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: hda: Delete an unnecessary check before the function call "snd_info_free_entry"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 28 Jun 2015 09:15:28 +0000 (11:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Jun 2015 09:02:36 +0000 (11:02 +0200)
commit1947a114bff140b35bbad1c84a5af216f8416281
treece26e13b16daa05fa5040c8f1437d030ebc95a16
parent4275554dccdf0afac07b2b638ba7456095629558
ALSA: hda: Delete an unnecessary check before the function call "snd_info_free_entry"

The snd_info_free_entry() function tests whether its argument is NULL and
then returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c