From: Markus Elfring Date: Tue, 2 Dec 2014 12:54:00 +0000 (+0100) Subject: of: Delete unnecessary check before calling "of_node_put()" X-Git-Tag: omap-for-v3.20/drop-legacy-3517~124^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46ca3c8310b61d253a39ff1375ea97912794cd1;p=pandora-kernel.git of: Delete unnecessary check before calling "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: Grant Likely --- Reading git-diff-tree failed