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: lxdialog: remove unused dialog colors

Remove inputbox_order, searchbox, searchbox_title, searchbox_border
because they are initialized, but not used anywhere.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

-22
-4
scripts/kconfig/lxdialog/dialog.h
··· 91 91 struct dialog_color button_label_active; 92 92 struct dialog_color button_label_inactive; 93 93 struct dialog_color inputbox; 94 - struct dialog_color inputbox_border; 95 - struct dialog_color searchbox; 96 - struct dialog_color searchbox_title; 97 - struct dialog_color searchbox_border; 98 94 struct dialog_color position_indicator; 99 95 struct dialog_color menubox; 100 96 struct dialog_color menubox_border;
-18
scripts/kconfig/lxdialog/util.c
··· 29 29 dlg.button_label_active.atr = A_REVERSE; 30 30 dlg.button_label_inactive.atr = A_NORMAL; 31 31 dlg.inputbox.atr = A_NORMAL; 32 - dlg.inputbox_border.atr = A_NORMAL; 33 - dlg.searchbox.atr = A_NORMAL; 34 - dlg.searchbox_title.atr = A_BOLD; 35 - dlg.searchbox_border.atr = A_NORMAL; 36 32 dlg.position_indicator.atr = A_BOLD; 37 33 dlg.menubox.atr = A_NORMAL; 38 34 dlg.menubox_border.atr = A_NORMAL; ··· 65 69 DLG_COLOR(button_label_active, COLOR_YELLOW, COLOR_BLUE, true); 66 70 DLG_COLOR(button_label_inactive, COLOR_BLACK, COLOR_WHITE, true); 67 71 DLG_COLOR(inputbox, COLOR_BLACK, COLOR_WHITE, false); 68 - DLG_COLOR(inputbox_border, COLOR_BLACK, COLOR_WHITE, false); 69 - DLG_COLOR(searchbox, COLOR_BLACK, COLOR_WHITE, false); 70 - DLG_COLOR(searchbox_title, COLOR_YELLOW, COLOR_WHITE, true); 71 - DLG_COLOR(searchbox_border, COLOR_WHITE, COLOR_WHITE, true); 72 72 DLG_COLOR(position_indicator, COLOR_YELLOW, COLOR_WHITE, true); 73 73 DLG_COLOR(menubox, COLOR_BLACK, COLOR_WHITE, false); 74 74 DLG_COLOR(menubox_border, COLOR_WHITE, COLOR_WHITE, true); ··· 96 104 DLG_COLOR(button_label_inactive, COLOR_WHITE, COLOR_BLACK, false); 97 105 98 106 DLG_COLOR(inputbox, COLOR_YELLOW, COLOR_BLACK, false); 99 - DLG_COLOR(inputbox_border, COLOR_YELLOW, COLOR_BLACK, false); 100 - 101 - DLG_COLOR(searchbox, COLOR_YELLOW, COLOR_BLACK, false); 102 - DLG_COLOR(searchbox_title, COLOR_YELLOW, COLOR_BLACK, true); 103 - DLG_COLOR(searchbox_border, COLOR_BLACK, COLOR_BLACK, true); 104 107 105 108 DLG_COLOR(position_indicator, COLOR_RED, COLOR_BLACK, false); 106 109 ··· 123 136 DLG_COLOR(title, COLOR_BLUE, COLOR_WHITE, true); 124 137 DLG_COLOR(button_key_active, COLOR_YELLOW, COLOR_BLUE, true); 125 138 DLG_COLOR(button_label_active, COLOR_WHITE, COLOR_BLUE, true); 126 - DLG_COLOR(searchbox_title, COLOR_BLUE, COLOR_WHITE, true); 127 139 DLG_COLOR(position_indicator, COLOR_BLUE, COLOR_WHITE, true); 128 140 DLG_COLOR(tag, COLOR_BLUE, COLOR_WHITE, true); 129 141 DLG_COLOR(tag_key, COLOR_BLUE, COLOR_WHITE, true); ··· 175 189 init_one_color(&dlg.button_label_active); 176 190 init_one_color(&dlg.button_label_inactive); 177 191 init_one_color(&dlg.inputbox); 178 - init_one_color(&dlg.inputbox_border); 179 - init_one_color(&dlg.searchbox); 180 - init_one_color(&dlg.searchbox_title); 181 - init_one_color(&dlg.searchbox_border); 182 192 init_one_color(&dlg.position_indicator); 183 193 init_one_color(&dlg.menubox); 184 194 init_one_color(&dlg.menubox_border);