diff options
| author | Markus Elfring <[email protected]> | 2015-01-16 13:05:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-18 04:54:59 +0000 |
| commit | b646c08e12c1879e1cfb94d3875e62024b706c4a (patch) | |
| tree | d1d33b68b738e74a57041a985e99c54cf85543b2 /net/switchdev/switchdev.c | |
| parent | s390/ctcm, netiucv: migrate variables to handle y2038 problem (diff) | |
| download | kernel-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
