]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: sb: Delete an unnecessary check before the function call "snd_emux_free"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 20:02:32 +0000 (21:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Jan 2015 14:13:32 +0000 (15:13 +0100)
commitb76c0e95ab0f535e210df588b8ac42dd75b31c75
treeb541dbcb46d5da5948d4c6ebb39ec97ea2c631cd
parentaa57b93b27eae1156c9a66a4ea85076f9a38d135
ALSA: sb: Delete an unnecessary check before the function call "snd_emux_free"

The snd_emux_free() 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/isa/sb/emu8000_synth.c