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

kconfig: lxdialog: remove initialization with A_NORMAL

A_NORMAL is zero, so the attribute is set to the default A_NORMAL
without explicit assignment.

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

-9
-9
scripts/kconfig/lxdialog/util.c
··· 17 17 18 18 static void set_mono_theme(void) 19 19 { 20 - dlg.screen.atr = A_NORMAL; 21 - dlg.shadow.atr = A_NORMAL; 22 - dlg.dialog.atr = A_NORMAL; 23 20 dlg.title.atr = A_BOLD; 24 - dlg.border.atr = A_NORMAL; 25 21 dlg.button_active.atr = A_REVERSE; 26 22 dlg.button_inactive.atr = A_DIM; 27 23 dlg.button_key_active.atr = A_REVERSE; 28 24 dlg.button_key_inactive.atr = A_BOLD; 29 25 dlg.button_label_active.atr = A_REVERSE; 30 - dlg.button_label_inactive.atr = A_NORMAL; 31 - dlg.inputbox.atr = A_NORMAL; 32 26 dlg.position_indicator.atr = A_BOLD; 33 - dlg.menubox.atr = A_NORMAL; 34 - dlg.menubox_border.atr = A_NORMAL; 35 - dlg.item.atr = A_NORMAL; 36 27 dlg.item_selected.atr = A_REVERSE; 37 28 dlg.tag.atr = A_BOLD; 38 29 dlg.tag_selected.atr = A_REVERSE;