projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a914032
)
kconfig: qconf: remove unnecessary mode check in ConfigItem::updateMenu()
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 23 Oct 2024 18:18:03 +0000
(
03:18
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 5 Nov 2024 23:46:34 +0000
(08:46 +0900)
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>
scripts/kconfig/qconf.cc
patch
|
blob
|
history
diff --git
a/scripts/kconfig/qconf.cc
b/scripts/kconfig/qconf.cc
index
f59a959
..
6c92ef1
100644
(file)
--- a/
scripts/kconfig/qconf.cc
+++ b/
scripts/kconfig/qconf.cc
@@
-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.
*/