summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-10-23 20:17:52 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-11-06 00:46:34 +0100
commit0bab492cfe04e8b61188d4162b302b1f7ae9f4df (patch)
tree5e2059e3808cd0b030c89f7e472de4cb8ca2cae4 /scripts/kconfig
parentkconfig: qconf: remove mouse{Press,Move}Event() functions (diff)
downloadlinux-0bab492cfe04e8b61188d4162b302b1f7ae9f4df.tar.xz
linux-0bab492cfe04e8b61188d4162b302b1f7ae9f4df.zip
kconfig: qconf: remove redundant type check for choice members
Since commit fde192511bdb ("kconfig: remove tristate choice support"), choice members are always boolean. The type check is redundant. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/qconf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 18cc5c184f56..58c57c908149 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -159,7 +159,7 @@ void ConfigItem::updateMenu(void)
ch = 'M';
break;
default:
- if (sym_is_choice_value(sym) && type == S_BOOLEAN)
+ if (sym_is_choice_value(sym))
setIcon(promptColIdx, choiceNoIcon);
else
setIcon(promptColIdx, symbolNoIcon);