From: Markus Elfring Date: Mon, 3 Nov 2014 13:54:36 +0000 (+0100) Subject: ALSA: emu10k1: Deletion of unnecessary checks before three function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~21^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31604d35db18c1382c7ee9fa836ff9ab0b4d2751;p=pandora-kernel.git ALSA: emu10k1: Deletion of unnecessary checks before three function calls The functions kfree(), release_firmware() and snd_util_memhdr_free() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed