ALSA: emu10k1: Delete an unnecessary check before the function call "kfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 16:06:04 +0000 (17:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Jan 2015 14:12:08 +0000 (15:12 +0100)
commita827977ac31cb5d1f4720efede9bbbf241789993
tree173d5eea4352c6881a404c63d3ab5c0915e5fe62
parentd1f45e6037f1195d10cf363e94a08ee2f10f9b41
ALSA: emu10k1: Delete an unnecessary check before the function call "kfree"

The kfree() 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/emu10k1/p16v.c