diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-08-21 22:16:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-22 16:22:03 -0700 |
commit | 5477fccf9abd7342a987d401fa50c0d93ebd09b9 (patch) | |
tree | 0eae33dad1e739f20ac38cd79b06aebd43d25353 /drivers/net/ethernet/sgi | |
parent | b7deac31979bd09c69e0e6e064609fad55df35be (diff) | |
download | linux-5477fccf9abd7342a987d401fa50c0d93ebd09b9.tar.gz linux-5477fccf9abd7342a987d401fa50c0d93ebd09b9.tar.bz2 linux-5477fccf9abd7342a987d401fa50c0d93ebd09b9.zip |
net: usb: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sgi')
0 files changed, 0 insertions, 0 deletions