s390/net: Delete useless checks before function calls
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 16 Jan 2015 13:05:46 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:54:59 +0000 (23:54 -0500)
commitb646c08e12c1879e1cfb94d3875e62024b706c4a
treed1d33b68b738e74a57041a985e99c54cf85543b2
parentee6edb9707cf2c50bc3df66b06df33a6aa8c9075
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 <elfring@users.sourceforge.net>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/claw.c
drivers/s390/net/lcs.c
drivers/s390/net/netiucv.c