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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4c82266 commit 2680e04

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)