From: Markus Elfring Date: Tue, 3 Feb 2015 12:55:53 +0000 (+0100) Subject: powerpc: Delete unnecessary checks before kfree() X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4eec395351ef25166276ad9dc3390b83ab41b6;p=pandora-kernel.git powerpc: Delete unnecessary checks before 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 Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed