aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/symbol.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2019-12-17 13:14:22 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-01-07 02:18:44 +0900
commit6397d96ba5a52c57ee1831a4ddc3aab01bb02048 (patch)
treece4dd71b3ab8070639985b22460fc3919572d964 /scripts/kconfig/symbol.c
parentkconfig: remove 'prompt' argument from menu_add_prop() (diff)
downloadlinux-dev-6397d96ba5a52c57ee1831a4ddc3aab01bb02048.tar.xz
linux-dev-6397d96ba5a52c57ee1831a4ddc3aab01bb02048.zip
kconfig: remove sym from struct property
struct property can reference to the symbol that it is associated with by prop->menu->sym. Fix up the one usage of prop->sym, and remove sym from struct property. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
-rw-r--r--scripts/kconfig/symbol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index f56eec5ea4c7..dbc5365d8bbc 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -1281,7 +1281,6 @@ struct property *prop_alloc(enum prop_type type, struct symbol *sym)
prop = xmalloc(sizeof(*prop));
memset(prop, 0, sizeof(*prop));
prop->type = type;
- prop->sym = sym;
prop->file = current_file;
prop->lineno = zconf_lineno();