summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-12 10:12:26 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 15:25:43 +0900
commit0a94768cfda6a77c42e5373d264c96c77ef1a2e5 (patch)
tree71fafdf012afd282b23ebfac59bdcb8838a5967b /scripts
parentecdb733f8fa843f632f4306939a5c3704be4a2dd (diff)
downloadlinux-next-0a94768cfda6a77c42e5373d264c96c77ef1a2e5.tar.gz
kconfig: nconf: remove meaningless wattrset() call from show_menu()
This attribute is not used because it will be overridden some lines below: wattrset(main_window, attr_main_menu_box); Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/nconf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index d8a6ab5fb521..5209a18eeacb 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -953,7 +953,6 @@ static void show_menu(const char *prompt, const char *instructions,
current_instructions = instructions;
clear();
- wattrset(main_window, attr_normal);
print_in_middle(stdscr, 1, 0, getmaxx(stdscr),
menu_backtitle,
attr_main_heading);