Skip to content
Commit d865e573 authored by Markus Elfring's avatar Markus Elfring Committed by Paul Moore
Browse files

audit: Delete unnecessary checks before two function calls



The functions consume_skb() and kfree_skb() test whether their argument
is NULL and then return immediately.
Thus the tests around their calls are not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
[PM: tweak patch prefix]
Signed-off-by: default avatarPaul Moore <pmoore@redhat.com>
parent 1194b994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment