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>
This commit is contained in:
Masahiro Yamada 2024-02-03 00:58:03 +09:00
parent aa8427fb13
commit 73a6afc5a5

View File

@ -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;