kconfig: trivial cleanup
PATCH 1/1 kconfig: trivial cleanup
CC Roman Zippel <[email protected]>, <[email protected]>
Replace a menu_add_prop mimicking menu_add_prompt with the latter.
Signed-off-by Paolo 'Blaisorblade' Giarrusso <[email protected]>
---
linux-2.6.11-paolo/scripts/kconfig/zconf.y | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/zconf.y renamed from scripts/kconfig/zconf.y~kbuild-cleanup +1 -1
@@ -443,7 +443,7 @@ prompt_stmt_opt: /* empty */ | prompt if_expr { - menu_add_prop(P_PROMPT, $1, NULL, $2); + menu_add_prompt(P_PROMPT, $1, $2); }; prompt: T_WORD
_
Hi,
Quoted 12 lines · On Tue, 22 Mar 2005 [email protected] wrote:
Replace a
menu_add_propmimickingmenu_add_promptwith the latter.Signed-off-by Paolo 'Blaisorblade' Giarrusso <[email protected]>---
linux-2.6.11-paolo/scripts/kconfig/zconf.y | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)diff -puN
scripts/kconfig/zconf.y~kbuild-cleanupscripts/kconfig/zconf.y
scripts/kconfig/zconf.y prompt_stmt_opt: · line 448
Quoted 7 lines
scripts/kconfig/zconf.y renamed from scripts/kconfig/zconf.y~kbuild-cleanup +1
-1@@ -443,7 +443,7 @@ prompt_stmt_opt: /* empty */ | prompt if_expr { - menu_add_prop(P_PROMPT, $1, NULL, $2); + menu_add_prompt(P_PROMPT, $1, $2); };
If you change this, then please do it completely. All other remaining menu_add_prop in that can be changed to menu_add_prompt too and the same change needs to be done to zconf.tab.c_shipped.
bye, Roman