From: Markus Elfring Date: Fri, 16 Jan 2015 13:05:46 +0000 (+0100) Subject: s390/net: Delete useless checks before function calls X-Git-Tag: fixes-v4.0-rc1~150^2~189^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b646c08e12c1879e1cfb94d3875e62024b706c4a;p=pandora-kernel.git s390/net: Delete useless checks before function calls The function debug_unregister() 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: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed