Skip to content
Snippets Groups Projects
Commit 99f0b657 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: remove redundant input_mode test for check_conf() loop


check_conf() never increments conf_cnt for listnewconfig, so conf_cnt
is always zero.

In other words, conf_cnt is not zero, "input_mode != listnewconfig"
is met.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarUlf Magnusson <ulfalizer@gmail.com>
parent 4bb3a5b0
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,7 @@ int main(int ac, char **av)
do {
conf_cnt = 0;
check_conf(&rootmenu);
} while (conf_cnt && input_mode != listnewconfig);
} while (conf_cnt);
break;
case olddefconfig:
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment