projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a798a1
)
kconfig: qconf: remove redundant type check for choice members
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 23 Oct 2024 18:17:52 +0000
(
03:17
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 5 Nov 2024 23:46:34 +0000
(08:46 +0900)
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>
scripts/kconfig/qconf.cc
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/qconf.cc
b/scripts/kconfig/qconf.cc
index 18cc5c184f56e5b509b15e26ec06f0bbc419a515..58c57c9081491d0d782fb009414d5bc235d7e6a3 100644
(file)
--- 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);