summaryrefslogtreecommitdiff
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
authorZeng Heng <zengheng4@huawei.com>2022-09-14 09:59:06 +0800
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-29 04:40:15 +0900
commitefc8338e3a72baf95294634b48c5f2d80dce1c5c (patch)
tree2669f34a10e77b246dcc1f994314c53865818d8c /scripts/kconfig/conf.c
parentf3304ecd7f060db1d4197fbdce5a503259f770d3 (diff)
Kconfig: remove sym_set_choice_value
sym_set_choice_value could be removed and directly call sym_set_tristate_value instead. Signed-off-by: Zeng Heng <zengheng4@huawei.com> Suggested-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 4178065ca27f..33d19e419908 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -551,7 +551,7 @@ static int conf_choice(struct menu *menu)
print_help(child);
continue;
}
- sym_set_choice_value(sym, child->sym);
+ sym_set_tristate_value(child->sym, yes);
for (child = child->list; child; child = child->next) {
indent += 2;
conf(child);