From: Masahiro Yamada Date: Fri, 2 Feb 2024 15:58:03 +0000 (+0900) Subject: kconfig: remove unneeded sym_find() call in conf_parse() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=73a6afc5a541f74ca84c72aad017866dfcf43680;p=linux.git kconfig: remove unneeded sym_find() call in conf_parse() sym_find("n") is equivalent to &symbol_no. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y index 5ab2e3f7ca331..625224973c511 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;