aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/parse_kconfig/symlist.c1
-rw-r--r--scripts/parse_kconfig/symlist.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/scripts/parse_kconfig/symlist.c b/scripts/parse_kconfig/symlist.c
index 99532fb..62cdd6c 100644
--- a/scripts/parse_kconfig/symlist.c
+++ b/scripts/parse_kconfig/symlist.c
@@ -19,7 +19,6 @@ void symlist_add(struct symlist *sl, char *name) {
sl->array[sl->pos].name = name;
sl->array[sl->pos].prompt = false;
sl->array[sl->pos].def = NULL;
- sl->array[sl->pos].def_size = 0;
sl->array[sl->pos].dep = NULL;
sl->array[sl->pos].rev_dep = NULL;
output_push_symbol((unsigned) sl->pos + 1, name);
diff --git a/scripts/parse_kconfig/symlist.h b/scripts/parse_kconfig/symlist.h
index 85f473e..234f776 100644
--- a/scripts/parse_kconfig/symlist.h
+++ b/scripts/parse_kconfig/symlist.h
@@ -13,10 +13,8 @@
struct symlist_el {
char *name;
bool prompt;
- struct cnfexpr *def;
- size_t def_size;
- struct cnfexpr *dep, *rev_dep;
+ struct boolexpr *def, *dep, *rev_dep;
};
struct symlist {