Skip to content

Commit 2680e04

Browse files
nivedita76gregkh
authored andcommitted
arch/riscv/setup: Drop dummy_con initialization
con_init in tty/vt.c will now set conswitchp to dummy_con if it's unset. Drop it from arch setup code. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20191218214506.49252-19-nivedita@alum.mit.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4c82266 commit 2680e04

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/riscv/kernel/setup.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,5 @@ void __init setup_arch(char **cmdline_p)
7878
setup_smp();
7979
#endif
8080

81-
#ifdef CONFIG_DUMMY_CONSOLE
82-
conswitchp = &dummy_con;
83-
#endif
84-
8581
riscv_fill_hwcap();
8682
}

0 commit comments

Comments
 (0)