]> Git Repo - linux.git/commitdiff
kconfig: remove a spurious self-assignment
authorLukas Bulwahn <[email protected]>
Thu, 30 Aug 2018 09:18:42 +0000 (11:18 +0200)
committerMasahiro Yamada <[email protected]>
Fri, 31 Aug 2018 16:21:42 +0000 (01:21 +0900)
The self assignment was probably introduced by an automated code
refactoring in
commit 694c49a7c01c ("kconfig: drop localization support").

The issue was identified by a self-assign warning when running
make menuconfig with clang.

Fixes: 694c49a7c01c ("kconfig: drop localization support")
Signed-off-by: Lukas Bulwahn <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
scripts/kconfig/mconf.c

index 83b5836615fb04a9cf389a2c978b75d4f5aa4f50..143c05fec1614bafe2f5f70dec85da3849e8225e 100644 (file)
@@ -490,7 +490,6 @@ static void build_conf(struct menu *menu)
                        switch (prop->type) {
                        case P_MENU:
                                child_count++;
-                               prompt = prompt;
                                if (single_menu_mode) {
                                        item_make("%s%*c%s",
                                                  menu->data ? "-->" : "++>",
This page took 0.057691 seconds and 4 git commands to generate.