]> git.itanic.dy.fi Git - linux-stable/commit
kconfig: squash menu_has_help() and menu_get_help()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 3 Dec 2023 10:25:25 +0000 (19:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 28 Dec 2023 07:22:47 +0000 (16:22 +0900)
commit092e39d1456bda5c3d7dab0aa72a24e4b0b4f7a5
tree2e401ac9afaaaec066d362b170fd807bd238a7ec
parent6c07fd84977b605b6a4ceb03b38e6325974f06d6
kconfig: squash menu_has_help() and menu_get_help()

menu_has_help() and menu_get_help() functions are only used within
menu_get_ext_help().

Squash them into menu_get_ext_help(). It revealed the if-conditional
in menu_get_help() was unneeded, as menu_has_help() has already checked
that menu->help is not NULL.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/lkc.h
scripts/kconfig/menu.c