summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
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/lkc.h
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/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 3fa46610f25f..401bdf36323a 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -128,10 +128,7 @@ static inline bool sym_is_choice(const struct symbol *sym)
return sym->name == NULL;
}
-static inline bool sym_is_choice_value(const struct symbol *sym)
-{
- return sym->flags & SYMBOL_CHOICEVAL ? true : false;
-}
+bool sym_is_choice_value(const struct symbol *sym);
static inline bool sym_has_value(const struct symbol *sym)
{