Commit 4bb3a5b0 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: remove unneeded input_mode test in conf()

conf() is never called for listnewconfig / olddefconfig.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarUlf Magnusson <ulfalizer@gmail.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment