summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/menu.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-07-07 17:38:06 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-16 09:07:14 +0200
commit94a4b0a4cb4340273a2d67be893f9032fe7b7e26 (patch)
tree251f438088ad762a611ad9b5cd54d90c760c43b5 /scripts/kconfig/menu.c
parentkconfig: add const qualifiers to several function arguments (diff)
downloadlinux-94a4b0a4cb4340273a2d67be893f9032fe7b7e26.tar.xz
linux-94a4b0a4cb4340273a2d67be893f9032fe7b7e26.zip
kconfig: remove SYMBOL_CHOICEVAL flag
This flag is unneeded because a choice member can be detected by other means. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r--scripts/kconfig/menu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index 2a9b4c4f4428..cd34cc5aefcf 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -467,11 +467,6 @@ static void _menu_finalize(struct menu *parent, bool inside_choice)
sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep);
}
for (menu = parent->list; menu; menu = menu->next) {
- if (sym && sym_is_choice(sym) &&
- menu->sym && !sym_is_choice_value(menu->sym)) {
- menu->sym->flags |= SYMBOL_CHOICEVAL;
- }
-
/*
* This code serves two purposes:
*