diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-29 19:32:37 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-04 09:53:09 +0100 |
commit | bea2c5ef789a37bace99f2f45eeef3be4559b228 (patch) | |
tree | 37946d13b3548d04456070e1c5be87ff3f6abb78 /scripts/kconfig/parser.y | |
parent | usb: use "prompt" instead of "bool" for choice prompts (diff) | |
download | linux-bea2c5ef789a37bace99f2f45eeef3be4559b228.tar.xz linux-bea2c5ef789a37bace99f2f45eeef3be4559b228.zip |
kconfig: remove support for "bool" prompt for choice entries
Since commit fde192511bdb ("kconfig: remove tristate choice support"),
all choice blocks are now boolean. There is no longer a need to specify
the choice type explicitly.
All "bool" prompts in choice entries have been converted to "prompt".
This commit removes support for the "bool" syntax in choice entries.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | scripts/kconfig/parser.y | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y index bc43fb67c7c4..f0f17b21d1b5 100644 --- a/scripts/kconfig/parser.y +++ b/scripts/kconfig/parser.y @@ -293,12 +293,6 @@ choice_option: T_PROMPT T_WORD_QUOTE if_expr T_EOL printd(DEBUG_PARSE, "%s:%d:prompt\n", cur_filename, cur_lineno); }; -choice_option: T_BOOL T_WORD_QUOTE if_expr T_EOL -{ - menu_add_prompt(P_PROMPT, $2, $3); - printd(DEBUG_PARSE, "%s:%d:bool\n", cur_filename, cur_lineno); -}; - choice_option: T_DEFAULT nonconst_symbol if_expr T_EOL { menu_add_symbol(P_DEFAULT, $2, $3); |