kconfig: remove unneeded input_mode test in conf()
conf() is never called for listnewconfig / olddefconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
This commit is contained in:
Родитель
59a80b5e89
Коммит
4bb3a5b085
|
@ -358,9 +358,7 @@ static void conf(struct menu *menu)
|
||||||
|
|
||||||
switch (prop->type) {
|
switch (prop->type) {
|
||||||
case P_MENU:
|
case P_MENU:
|
||||||
if ((input_mode == silentoldconfig ||
|
if (input_mode == silentoldconfig &&
|
||||||
input_mode == listnewconfig ||
|
|
||||||
input_mode == olddefconfig) &&
|
|
||||||
rootEntry != menu) {
|
rootEntry != menu) {
|
||||||
check_conf(menu);
|
check_conf(menu);
|
||||||
return;
|
return;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче