From: Markus Elfring Date: Wed, 4 Feb 2015 14:56:58 +0000 (+0100) Subject: net: ep93xx_eth: Delete unnecessary checks before the function call "kfree" X-Git-Tag: fixes-v4.0-rc1~150^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7af348be47fd2df5d276add2167b5838d48ba044;p=pandora-kernel.git net: ep93xx_eth: Delete unnecessary checks 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 Signed-off-by: H Hartley Sweeten Signed-off-by: David S. Miller --- Reading git-diff-tree failed