summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/menu.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-02 16:58:25 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 12:47:45 +0100
commit7d5f52a4334c5227408b14c2e76d8840aa26f132 (patch)
tree051eb969e1b12d200014241ff9e787ac061a8b24 /scripts/kconfig/menu.c
parentkconfig: convert linked list of files to hash table (diff)
downloadlinux-7d5f52a4334c5227408b14c2e76d8840aa26f132.tar.xz
linux-7d5f52a4334c5227408b14c2e76d8840aa26f132.zip
kconfig: do not imply the type of choice value
Do not feed back the choice type to choice values. Each choice value should explicitly specify 'bool' or 'tristate', as all the Kconfig files already do. If the type were missing, "config symbol defined without type" would be shown. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r--scripts/kconfig/menu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index 696803d944e0..44465945d6b1 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -305,12 +305,6 @@ void menu_finalize(struct menu *parent)
}
}
}
- /* set the type of the remaining choice values */
- for (menu = parent->list; menu; menu = menu->next) {
- current_entry = menu;
- if (menu->sym && menu->sym->type == S_UNKNOWN)
- menu_set_type(sym->type);
- }
/*
* Use the choice itself as the parent dependency of