From: Markus Elfring Date: Fri, 21 Nov 2014 18:32:02 +0000 (+0100) Subject: ALSA: sb: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~21^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966b7bc9354ab8f59f0ef2d96306615157e0f76e;p=pandora-kernel.git ALSA: sb: Deletion of unnecessary checks before two function calls The functions release_and_free_resource() 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