Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: remove dummy assignments to cur_{filename,lineno}

Since commit ca4c74ba306e ("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>

-8
-8
scripts/kconfig/parser.y
··· 530 530 yydebug = 1; 531 531 yyparse(); 532 532 533 - /* 534 - * FIXME: 535 - * cur_filename and cur_lineno are used even after yyparse(); 536 - * menu_finalize() calls menu_add_symbol(). This should be fixed. 537 - */ 538 - cur_filename = "<none>"; 539 - cur_lineno = 0; 540 - 541 533 str_printf(&autoconf_cmd, 542 534 "\n" 543 535 "$(autoconfig): $(deps_config)\n"