[Intel-wired-lan] [PATCH] ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb”

David Miller davem at davemloft.net
Thu Aug 22 23:23:39 UTC 2019


From: Markus Elfring <Markus.Elfring at web.de>
Date: Thu, 22 Aug 2019 20:30:15 +0200

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Thu, 22 Aug 2019 20:02:56 +0200
> 
> 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 at users.sourceforge.net>

Applied.


More information about the Intel-wired-lan mailing list