Markus Elfring <markus.elfr...@web.de> wrote: > From: Markus Elfring <elfr...@users.sourceforge.net> > Date: Thu, 22 Aug 2019 10:20:10 +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 <elfr...@users.sourceforge.net>
Patch applied to wireless-drivers-next.git, thanks. 868ad2149602 net/wireless: Delete unnecessary checks before the macro call “dev_kfree_skb” -- https://patchwork.kernel.org/patch/11108741/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches