Tag: e043046a5a29bebe7e9a68b92c4580e2888f8ed3

s390-ctcm: Delete unnecessary checks before the function call “channel_remove”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Ursula Braun Signed-off-by: David S. Miller — drivers/s390/net/ctcm_main.c | 7 ++—– 1 file changed, 2 insertions(+), …

Continue reading