Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
scripts/kconfig/qconf.cc
··· 110 110 111 111 if (prop) switch (prop->type) { 112 112 case P_MENU: 113 - if (list->mode == singleMode || list->mode == symbolMode) { 113 + if (list->mode == singleMode) { 114 114 /* a menuconfig entry is displayed differently 115 115 * depending whether it's at the view root or a child. 116 116 */