diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2025-06-25 00:05:38 +0900 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-07-02 11:11:52 +0900 |
| commit | bf5792da5ac14c5e95f1e8612df70096ee5a44d1 (patch) | |
| tree | a640383d4ebb0526e6bdd9fee2595be72d1a85af /scripts | |
| parent | kconfig: gconf: inline display_list() into set_view_mode() (diff) | |
| download | linux-bf5792da5ac14c5e95f1e8612df70096ee5a44d1.tar.gz linux-bf5792da5ac14c5e95f1e8612df70096ee5a44d1.zip | |
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@kernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/gconf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 3c2e6be30c00..6afdba85158a 100644 --- 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)); } |
