提交 99f0b657 编写于 作者: M Masahiro Yamada

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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: NUlf Magnusson <ulfalizer@gmail.com>
上级 4bb3a5b0
...@@ -669,7 +669,7 @@ int main(int ac, char **av) ...@@ -669,7 +669,7 @@ int main(int ac, char **av)
do { do {
conf_cnt = 0; conf_cnt = 0;
check_conf(&rootmenu); check_conf(&rootmenu);
} while (conf_cnt && input_mode != listnewconfig); } while (conf_cnt);
break; break;
case olddefconfig: case olddefconfig:
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册