[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250624150645.1107002-51-masahiroy@kernel.org>
Date: Wed, 25 Jun 2025 00:05:38 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: Masahiro Yamada <masahiroy@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 50/66] kconfig: gconf: remove dead code in display_tree_part()
This function is no longer called in the FULL_VIEW mode, so remove the
dead code.
Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
---
scripts/kconfig/gconf.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 29b73f0bea38..64defbe59afc 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -974,10 +974,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));
}
--
2.43.0
Powered by blists - more mailing lists