OSDN Git Service

kconfig: remove redundant assignment prompt = prompt
authorDenis Efremov <efremov@linux.com>
Mon, 31 Aug 2020 06:52:23 +0000 (09:52 +0300)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 3 Sep 2020 03:21:22 +0000 (12:21 +0900)
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>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/nconf.c

index daf1c15..e0f9655 100644 (file)
@@ -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",