summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-03 00:58:03 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-19 18:20:40 +0900
commit73a6afc5a541f74ca84c72aad017866dfcf43680 (patch)
treef89d1c724d69c3cb865be3db3b8a116eddf5b3f6 /scripts
parentaa8427fb130f323e5e27dfe25dee9b514462dde7 (diff)
downloadlinux-73a6afc5a541f74ca84c72aad017866dfcf43680.tar.gz
linux-73a6afc5a541f74ca84c72aad017866dfcf43680.tar.bz2
linux-73a6afc5a541f74ca84c72aad017866dfcf43680.zip
kconfig: remove unneeded sym_find() call in conf_parse()
sym_find("n") is equivalent to &symbol_no. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y
index 5ab2e3f7ca33..625224973c51 100644
--- a/scripts/kconfig/parser.y
+++ b/scripts/kconfig/parser.y
@@ -494,7 +494,7 @@ void conf_parse(const char *name)
if (yynerrs)
exit(1);
if (!modules_sym)
- modules_sym = sym_find( "n" );
+ modules_sym = &symbol_no;
if (!menu_has_prompt(&rootmenu)) {
current_entry = &rootmenu;