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:
063a274
)
kconfig: gconf: remove dead code in display_tree_part()
author
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:38 +0000
(
00:05
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 2 Jul 2025 02:11:52 +0000
(11:11 +0900)
This function is no longer called in the FULL_VIEW mode, so remove the
dead code.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/gconf.c
b/scripts/kconfig/gconf.c
index
3c2e6be
..
6afdba8
100644
(file)
--- a/
scripts/kconfig/gconf.c
+++ b/
scripts/kconfig/gconf.c
@@
-976,10
+976,7
@@
static void display_tree(GtkTreeStore *store, struct menu *menu)
static void display_tree_part(void)
{
gtk_tree_store_clear(tree2);
- if (view_mode == SINGLE_VIEW || view_mode == SPLIT_VIEW)
- display_tree(tree2, browsed);
- else if (view_mode == FULL_VIEW)
- display_tree(tree2, &rootmenu);
+ display_tree(tree2, browsed);
gtk_tree_view_expand_all(GTK_TREE_VIEW(tree2_w));
}