summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-03-10 17:16:17 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-03-18 20:30:51 +0300
commitb27a91383abc4acca39f4402cdcc74ce4a476d8e (patch)
treef7e6fa5dc23b19cbe832cc39b4c953b2210e45c0 /scripts/package
parent4957515b9c3aa3d32a1ee44ab77f0a44f29263dc (diff)
downloadlinux-b27a91383abc4acca39f4402cdcc74ce4a476d8e.tar.xz
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions