Re: [PATCH] kernel-audit: Delete unnecessary checks before two function calls

2015-11-19 Thread Paul Moore
On Sunday, November 15, 2015 12:42:52 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Nov 2015 12:38:33 +0100 > > 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. >

[PATCH] kernel-audit: Delete unnecessary checks before two function calls

2015-11-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 15 Nov 2015 12:38:33 +0100 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: Mark