From: Markus Elfring Date: Tue, 3 Feb 2015 18:47:33 +0000 (+0100) Subject: IBM-EMAC: Delete an unnecessary check before the function call "of_dev_put" X-Git-Tag: fixes-v4.0-rc1~150^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f339664c0be145b381c788bc0d5c07fbe1dd9d85;p=pandora-kernel.git IBM-EMAC: Delete an unnecessary check 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