[PATCH] net-scm: Delete an unnecessary check before the function call "kfree"

2015-11-17 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 17 Nov 2015 17:37:22 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by:

Re: [PATCH] net-scm: Delete an unnecessary check before the function call "kfree"

2015-11-17 Thread David Miller
From: SF Markus Elfring Date: Tue, 17 Nov 2015 17:43:35 +0100 > From: Markus Elfring > Date: Tue, 17 Nov 2015 17:37:22 +0100 > > The kfree() function tests whether its argument is NULL and then > returns immediately. Thus the test

Re: [PATCH] net-scm: Delete an unnecessary check before the function call "kfree"

2015-11-17 Thread Daniel Borkmann
On 11/17/2015 05:43 PM, SF Markus Elfring wrote: From: Markus Elfring Date: Tue, 17 Nov 2015 17:37:22 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected