Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -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;