Re: [PATCH] net/wireless: Delete unnecessary checks before the macro call âdev_kfree_skbâ

From: Kalle Valo
Date: Tue Oct 15 2019 - 01:28:07 EST


Markus Elfring <Markus.Elfring@xxxxxx> wrote:

> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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 <elfring@xxxxxxxxxxxxxxxxxxxxx>

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