]> git.baikalelectronics.ru Git - 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)
commit39c5168f29fa7b2cb73ae1fb1caac23349cb16a3
treece26e13b16daa05fa5040c8f1437d030ebc95a16
parente919e9b55264a12e47f766a353baa62f31140782
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