summaryrefslogtreecommitdiff
path: root/scripts/kconfig/parser.y
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-11 15:41:05 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 14:47:45 +0300
commit91b69454f93d1c905f3a56bb39856db9a220c791 (patch)
tree626c49c3d828ca15576080f79ac94144b03984fd /scripts/kconfig/parser.y
parentcc25cfc563adc48c84f1eec6432b369bcab73ca6 (diff)
downloadlinux-91b69454f93d1c905f3a56bb39856db9a220c791.tar.xz
kconfig: use generic macros to implement symbol hashtable
Use helper macros in hashtable.h for generic hashtable implementation. We can git rid of the hash head index of for_all_symbols(). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/parser.y')
-rw-r--r--scripts/kconfig/parser.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y
index efd0e234e0d2..b505e43e0d02 100644
--- a/scripts/kconfig/parser.y
+++ b/scripts/kconfig/parser.y
@@ -28,8 +28,6 @@ static void zconf_error(const char *err, ...);
static bool zconf_endtoken(const char *tokenname,
const char *expected_tokenname);
-struct symbol *symbol_hash[SYMBOL_HASHSIZE];
-
struct menu *current_menu, *current_entry;
%}