]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit35ffd08d9bc92b5d56f6536406c379d82a757e7a
tree2599447500053e2f630aa332ddd09d16c0853f12
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
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