mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
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>
This commit is contained in:
parent
a914032b71
commit
d6a91e28d1
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user