diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-12-11 06:27:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-14 16:16:44 -0500 |
commit | e043046a5a29bebe7e9a68b92c4580e2888f8ed3 (patch) | |
tree | 900fadc491e47326cd6e0380a9e88f11e5447c15 /drivers/s390/net/qeth_core.h | |
parent | f0c59aff88c0ff58f290fee55b9552fcd953d410 (diff) |
s390-ctcm: Delete unnecessary checks before the function call "channel_remove"
The channel_remove() function tests whether its argument is NULL
and then returns immediately. Thus the test around the calls 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 <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
0 files changed, 0 insertions, 0 deletions