Commit d6a91e28 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: qconf: remove unnecessary mode check in ConfigItem::updateMenu()



The P_MENU entries ("menu" and "menuconfig") are never displayed in
symbolMode.

The condition, list->mode == symbolMode, is never met here.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a914032b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ void ConfigItem::updateMenu(void)

	if (prop) switch (prop->type) {
	case P_MENU:
		if (list->mode == singleMode || list->mode == symbolMode) {
		if (list->mode == singleMode) {
			/* a menuconfig entry is displayed differently
			 * depending whether it's at the view root or a child.
			 */