diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-08-21 21:16:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-23 01:22:03 +0200 |
commit | 038dab7efc38254e151adbbade13b8860055d44a (patch) | |
tree | ec6d2700641b5b77bb54fcc15bb4d37bb8ae4d1f /drivers/net/hamradio | |
parent | mISDN: Delete unnecessary checks before the macro call “dev_kfree_skb” (diff) | |
download | linux-038dab7efc38254e151adbbade13b8860055d44a.tar.xz linux-038dab7efc38254e151adbbade13b8860055d44a.zip |
can: 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>
Acked-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions