From: Markus Elfring Date: Thu, 20 Nov 2014 13:47:12 +0000 (+0100) Subject: net: Xilinx: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a90e7ccb6c25a124ef46e1f30f5df1a0375fb6;p=pandora-kernel.git net: Xilinx: Deletion of unnecessary checks before two function calls The functions kfree() and of_node_put() 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 Reviewed-by: Soren Brinkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed