aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-01-16 13:05:46 +0000
committerDavid S. Miller <[email protected]>2015-01-18 04:54:59 +0000
commitb646c08e12c1879e1cfb94d3875e62024b706c4a (patch)
treed1d33b68b738e74a57041a985e99c54cf85543b2 /net/switchdev/switchdev.c
parents390/ctcm, netiucv: migrate variables to handle y2038 problem (diff)
downloadkernel-b646c08e12c1879e1cfb94d3875e62024b706c4a.tar.gz
kernel-b646c08e12c1879e1cfb94d3875e62024b706c4a.zip
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 <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions