summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/symbol.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-06-18 12:35:31 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-15 18:08:37 +0200
commit7c9bb07a6e9439fb7bdeee15eb188fe127a0d0e0 (patch)
tree2ed47537dbc05fe634018d6fb47d6e9d0d3ddb33 /scripts/kconfig/symbol.c
parentkconfig: remove P_CHOICE property (diff)
downloadlinux-7c9bb07a6e9439fb7bdeee15eb188fe127a0d0e0.tar.xz
linux-7c9bb07a6e9439fb7bdeee15eb188fe127a0d0e0.zip
kconfig: remove E_LIST expression type
E_LIST was preveously used to form an expression tree consisting of choice members. It is no longer used. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/symbol.c')
-rw-r--r--scripts/kconfig/symbol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index cf682a8a3f1e..e5441378c4b0 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -1316,8 +1316,7 @@ struct symbol *sym_check_deps(struct symbol *sym)
struct symbol *prop_get_symbol(struct property *prop)
{
- if (prop->expr && (prop->expr->type == E_SYMBOL ||
- prop->expr->type == E_LIST))
+ if (prop->expr && prop->expr->type == E_SYMBOL)
return prop->expr->left.sym;
return NULL;
}