Re: [PATCH] fjes: Delete an unnecessary check before the function call "vfree"

2015-11-07 Thread David Miller
From: SF Markus Elfring Date: Fri, 6 Nov 2015 09:39:23 +0100 > From: Markus Elfring > Date: Fri, 6 Nov 2015 09:30:29 +0100 > > The vfree() function performs also input parameter validation. > Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle

Re: [PATCH] fjes: Delete an unnecessary check before the function call "vfree"

2015-11-07 Thread David Miller
From: SF Markus Elfring Date: Fri, 6 Nov 2015 09:39:23 +0100 > From: Markus Elfring > Date: Fri, 6 Nov 2015 09:30:29 +0100 > > The vfree() function performs also input parameter validation. > Thus the test around the call is not

[PATCH] fjes: Delete an unnecessary check before the function call "vfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 09:30:29 +0100 The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/fjes/fjes_hw.c | 4

[PATCH] fjes: Delete an unnecessary check before the function call "vfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 09:30:29 +0100 The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring