Tag: b646c08e12c1879e1cfb94d3875e62024b706c4a

s390/net: Delete useless checks before function calls

Author: Markus Elfring <elfring@users.sourceforge.net> 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 — drivers/s390/net/claw.c | 6 ++—- drivers/s390/net/lcs.c | 6 ++—- drivers/s390/net/netiucv.c …

Continue reading