mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
kconfig: remove dummy assignments to cur_{filename,lineno}
Since commit ca4c74ba30 ("kconfig: remove P_CHOICE property"),
menu_finalize() no longer calls menu_add_symbol(). No function
references cur_filename or cur_lineno after yyparse().
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
@@ -530,14 +530,6 @@ void conf_parse(const char *name)
|
||||
yydebug = 1;
|
||||
yyparse();
|
||||
|
||||
/*
|
||||
* FIXME:
|
||||
* cur_filename and cur_lineno are used even after yyparse();
|
||||
* menu_finalize() calls menu_add_symbol(). This should be fixed.
|
||||
*/
|
||||
cur_filename = "<none>";
|
||||
cur_lineno = 0;
|
||||
|
||||
str_printf(&autoconf_cmd,
|
||||
"\n"
|
||||
"$(autoconfig): $(deps_config)\n"
|
||||
|
||||
Reference in New Issue
Block a user