Skip to content
Commit 868ad214 authored by Markus Elfring's avatar Markus Elfring Committed by Kalle Valo
Browse files

net/wireless: 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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 52d42618
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment