From: Markus Elfring Date: Thu, 20 Nov 2014 13:22:47 +0000 (+0100) Subject: IBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put" X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac0fd00e1681ef6f929f651124da77f5ca7e564;p=pandora-kernel.git IBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put" The of_dev_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: David S. Miller --- Reading git-diff-tree failed