]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: Delete unnecessary checks before the function call "sym_calc_value"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 7 Jul 2015 19:48:23 +0000 (21:48 +0200)
committerMichal Marek <mmarek@suse.com>
Wed, 19 Aug 2015 14:41:02 +0000 (16:41 +0200)
commit9ee65e43755976f053e056cec9ec72199b936344
tree2599447500053e2f630aa332ddd09d16c0853f12
parent7080a36663ec94f7ed976e9e162c15cc4a03bc56
kconfig: Delete unnecessary checks before the function call "sym_calc_value"

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 <elfring@users.sourceforge.net>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/kconfig/confdata.c
scripts/kconfig/symbol.c