summaryrefslogtreecommitdiff
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-13 22:48:35 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 09:22:49 +0300
commitab838577aaaeda12242b7f1e2da3f25c9b4cec3a (patch)
treeb1bbaf922d615740557f15ecdf18bfd565264941 /scripts/kconfig/conf.c
parentf8f0d06438e5c810d1e13b5f8c2fed501fe36e9c (diff)
downloadlinux-ab838577aaaeda12242b7f1e2da3f25c9b4cec3a.tar.xz
kconfig: remove allnoconfig_y option
Now that the only user, CONFIG_EMBEDDED has stopped using this option, remove it entirely. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 10958f1e41d6..bfa1ea8f5f98 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -242,10 +242,7 @@ static bool conf_set_all_new_symbols(enum conf_def_mode mode)
sym->def[S_DEF_USER].tri = mod;
break;
case def_no:
- if (sym->flags & SYMBOL_ALLNOCONFIG_Y)
- sym->def[S_DEF_USER].tri = yes;
- else
- sym->def[S_DEF_USER].tri = no;
+ sym->def[S_DEF_USER].tri = no;
break;
case def_random:
sym->def[S_DEF_USER].tri = no;