Tag: 35ffd08d9bc92b5d56f6536406c379d82a757e7a

kconfig: Delete unnecessary checks before the function call “sym_calc_value”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Michal Marek — scripts/kconfig/confdata.c | 7 ++—– scripts/kconfig/symbol.c | 3 +– 2 files changed, 3 insertions(+), …

Continue reading