projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8427f
)
kconfig: remove unneeded sym_find() call in conf_parse()
author
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 2 Feb 2024 15:58:03 +0000
(
00:58
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 19 Feb 2024 09:20:40 +0000
(18:20 +0900)
sym_find("n") is equivalent to &symbol_no.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/parser.y
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/parser.y
b/scripts/kconfig/parser.y
index 5ab2e3f7ca33112d804ddb91502251b16e8121ef..625224973c5118f13999a47e45295ef80b46b2e9 100644
(file)
--- 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;