diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-04-22 19:10:54 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-05-02 13:48:26 +0300 |
commit | 1da251c60def5df1475ed5e8670d7ba2b6a33983 (patch) | |
tree | 4d4cec5f37f6894f0f3fe83e1b64d28f876da628 /scripts/kconfig/gconf.c | |
parent | 2b1ab140506822dfc4711be08ea46fb4a83bf1ea (diff) | |
download | linux-1da251c60def5df1475ed5e8670d7ba2b6a33983.tar.xz |
kconfig: remove SYMBOL_CHOICE flag
All symbols except choices have a name.
Previously, choices were allowed to have a name, but commit c83f020973bc
("kconfig: remove named choice support") eliminated that possibility.
Now, it is easy to distinguish choices from normal symbols; if the name
is NULL, it is a choice.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'scripts/kconfig/gconf.c')
-rw-r--r-- | scripts/kconfig/gconf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 9709aca3a30f..74f193272a00 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c @@ -83,8 +83,6 @@ static const char *dbg_sym_flags(int val) strcat(buf, "const/"); if (val & SYMBOL_CHECK) strcat(buf, "check/"); - if (val & SYMBOL_CHOICE) - strcat(buf, "choice/"); if (val & SYMBOL_CHOICEVAL) strcat(buf, "choiceval/"); if (val & SYMBOL_VALID) |