[PATCH 05/27] kconfig: remove unneeded sym_find() call in conf_parse()

From: Masahiro Yamada
Date: Fri Feb 02 2024 - 11:00:13 EST


sym_find("n") is equivalent to &symbol_no.

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

scripts/kconfig/parser.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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