[PATCH] keys: Delete an unnecessary check before the function call "key_put"

2015-06-26 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 26 Jun 2015 16:10:54 +0200 The key_put() 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: Markus Elfring ---

[PATCH] keys: Delete an unnecessary check before the function call key_put

2015-06-26 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Fri, 26 Jun 2015 16:10:54 +0200 The key_put() 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] keys: Delete an unnecessary check before the function call "key_put"

2015-06-25 Thread Serge E. Hallyn
On Wed, Jun 24, 2015 at 03:20:47PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 24 Jun 2015 15:16:35 +0200 > > The key_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was

Re: [PATCH] keys: Delete an unnecessary check before the function call key_put

2015-06-25 Thread Serge E. Hallyn
On Wed, Jun 24, 2015 at 03:20:47PM +0200, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 24 Jun 2015 15:16:35 +0200 The key_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed.

[PATCH] keys: Delete an unnecessary check before the function call "key_put"

2015-06-24 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 24 Jun 2015 15:16:35 +0200 The key_put() 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: Markus Elfring ---

[PATCH] keys: Delete an unnecessary check before the function call key_put

2015-06-24 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 24 Jun 2015 15:16:35 +0200 The key_put() 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: