s390/ctcm: Delete unnecessary checks before the macro call “dev_kfree_skb”
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Sep 2019 17:21:05 +0000 (19:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2019 19:45:32 +0000 (21:45 +0200)
commit56a4e37ef14f569017131d1cba22da4fcfe28207
tree0d7b95358e418e0c2bf331566823aec0a4342d69
parentf432c2e30461cfdfde5ee74ad62d9684016f3623
s390/ctcm: Delete unnecessary checks before the macro call “dev_kfree_skb”

The dev_kfree_skb() function performs also input parameter validation.
Thus the test around the shown 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: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ctcm_main.c