From: Markus Elfring Date: Tue, 3 Feb 2015 19:12:25 +0000 (+0100) Subject: NetCP: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~64 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b55669c14212f89dba39a2d8e00c1ec1d44c1ec;p=pandora-kernel.git NetCP: Deletion of unnecessary checks before two function calls The functions cpsw_ale_destroy() and of_dev_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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed