From: Markus Elfring Date: Wed, 4 Feb 2015 20:32:27 +0000 (+0100) Subject: drivers/macintosh: Delete an unnecessary check before the function call "of_node_put" X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~70^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b7d8358819da84b1272cdae29ace4680254a104;p=pandora-kernel.git drivers/macintosh: Delete an unnecessary check before the function call "of_node_put" The of_node_put() 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: Benjamin Herrenschmidt --- Reading git-diff-tree failed