ALSA: emux: Delete an unnecessary check before the function call "snd_sf_free"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 17:28:21 +0000 (18:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Jan 2015 14:12:29 +0000 (15:12 +0100)
commitb172e0aae6d14baf646a36052d03b301535f4ef5
tree8049612e1ec366e1b90b15b47d1f781625d1190c
parent1fac1686377410169952db63d282490bc0554662
ALSA: emux: Delete an unnecessary check before the function call "snd_sf_free"

The snd_sf_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/synth/emux/emux.c