Re: [PATCH v3] kconfig: Delete unnecessary checks before the function call "sym_calc_value"

2015-08-19 Thread Michal Marek
On 2015-07-07 21:54, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 7 Jul 2015 21:48:23 +0200 > > The sym_calc_value() 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

Re: [PATCH v3] kconfig: Delete unnecessary checks before the function call sym_calc_value

2015-08-19 Thread Michal Marek
On 2015-07-07 21:54, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Tue, 7 Jul 2015 21:48:23 +0200 The sym_calc_value() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was

[PATCH v3] kconfig: Delete unnecessary checks before the function call "sym_calc_value"

2015-07-07 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 7 Jul 2015 21:48:23 +0200 The sym_calc_value() 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 v3] kconfig: Delete unnecessary checks before the function call sym_calc_value

2015-07-07 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Tue, 7 Jul 2015 21:48:23 +0200 The sym_calc_value() 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.