提交 4bb3a5b0 编写于 作者: M Masahiro Yamada

kconfig: remove unneeded input_mode test in conf()

conf() is never called for listnewconfig / olddefconfig.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: NUlf Magnusson <ulfalizer@gmail.com>
上级 59a80b5e
......@@ -358,9 +358,7 @@ static void conf(struct menu *menu)
switch (prop->type) {
case P_MENU:
if ((input_mode == silentoldconfig ||
input_mode == listnewconfig ||
input_mode == olddefconfig) &&
if (input_mode == silentoldconfig &&
rootEntry != menu) {
check_conf(menu);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册