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)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 27 Apr 2016 14:09:47 +0000 (16:09 +0200)
commita318d15e9291e956526fa23211706a4e471b84f4
treefd6271da812ff8103addbfaf32b4c259f9ad60f4
parent000c801a28421b0eb73a5678e334a6e7ace2f5e2
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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/confdata.c
config/symbol.c