Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1 -4
+1 -4
scripts/kconfig/gconf.c
··· 976 976 static void display_tree_part(void) 977 977 { 978 978 gtk_tree_store_clear(tree2); 979 - if (view_mode == SINGLE_VIEW || view_mode == SPLIT_VIEW) 980 - display_tree(tree2, browsed); 981 - else if (view_mode == FULL_VIEW) 982 - display_tree(tree2, &rootmenu); 979 + display_tree(tree2, browsed); 983 980 gtk_tree_view_expand_all(GTK_TREE_VIEW(tree2_w)); 984 981 } 985 982