Skip to content
Commit b27a9138 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: remove unneeded menu_is_visible() call in conf_write_defconfig()



When the condition 'sym == NULL' is met, the code will reach the
'next_menu' label regardless of the return value from menu_is_visible().

menu_is_visible() calculates some symbol values as a side-effect, for
instance by calling expr_calc_value(menu->visibility), but all the
symbol values will be calculated eventually.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 4957515b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment