]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
kconfig: move prompt handling to menu_add_prompt() from menu_add_prop()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 17 Dec 2019 04:14:20 +0000 (13:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 6 Jan 2020 17:18:44 +0000 (02:18 +0900)
commit024352ff8d696e95a8601970f98a66d836e30549
tree1573d27da8971c5f50384bd4e0053491842629e2
parent1be6e791383a92e168662089dc956828dd33f0ff
kconfig: move prompt handling to menu_add_prompt() from menu_add_prop()

menu_add_prompt() is the only function that calls menu_add_prop() with
non-NULL prompt.

So, the code inside the if-conditional block of menu_add_prop() can be
moved to menu_add_prompt().

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