Re: [PATCH] SRAM: Delete an unnecessary check before the function call "of_node_put"

2016-07-20 Thread SF Markus Elfring
> From: Markus Elfring > Date: Fri, 6 Nov 2015 10:36:49 +0100 > > The of_node_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

Re: [PATCH] SRAM: Delete an unnecessary check before the function call "of_node_put"

2016-07-20 Thread SF Markus Elfring
> From: Markus Elfring > Date: Fri, 6 Nov 2015 10:36:49 +0100 > > The of_node_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

[PATCH] SRAM: Delete an unnecessary check before the function call "of_node_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 10:36:49 +0100 The of_node_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] SRAM: Delete an unnecessary check before the function call "of_node_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 10:36:49 +0100 The of_node_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.