* [PATCH] kconfig: remove redundant assignment prompt = prompt
@ 2020-08-31 6:52 Denis Efremov
2020-08-31 10:50 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Denis Efremov @ 2020-08-31 6:52 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: Denis Efremov, linux-kbuild, linux-kernel
Semi-automatic removing of localization macros changed the line
from "prompt = _(prompt);" to "prompt = prompt;". Drop the
reduntand assignment.
Fixes: 694c49a7c01c ("kconfig: drop localization support")
Signed-off-by: Denis Efremov <efremov@linux.com>
---
scripts/kconfig/nconf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index daf1c1506ec4..e0f965529166 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -755,7 +755,6 @@ static void build_conf(struct menu *menu)
switch (ptype) {
case P_MENU:
child_count++;
- prompt = prompt;
if (single_menu_mode) {
item_make(menu, 'm',
"%s%*c%s",
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kconfig: remove redundant assignment prompt = prompt
2020-08-31 6:52 [PATCH] kconfig: remove redundant assignment prompt = prompt Denis Efremov
@ 2020-08-31 10:50 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2020-08-31 10:50 UTC (permalink / raw)
To: Denis Efremov; +Cc: Linux Kbuild mailing list, Linux Kernel Mailing List
On Mon, Aug 31, 2020 at 3:52 PM Denis Efremov <efremov@linux.com> wrote:
>
> Semi-automatic removing of localization macros changed the line
> from "prompt = _(prompt);" to "prompt = prompt;". Drop the
> reduntand assignment.
>
> Fixes: 694c49a7c01c ("kconfig: drop localization support")
> Signed-off-by: Denis Efremov <efremov@linux.com>
> ---
Applied to linux-kbuild/fixes. Thanks.
> scripts/kconfig/nconf.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
> index daf1c1506ec4..e0f965529166 100644
> --- a/scripts/kconfig/nconf.c
> +++ b/scripts/kconfig/nconf.c
> @@ -755,7 +755,6 @@ static void build_conf(struct menu *menu)
> switch (ptype) {
> case P_MENU:
> child_count++;
> - prompt = prompt;
> if (single_menu_mode) {
> item_make(menu, 'm',
> "%s%*c%s",
> --
> 2.26.2
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-31 10:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31 6:52 [PATCH] kconfig: remove redundant assignment prompt = prompt Denis Efremov
2020-08-31 10:50 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).