Skip to content

Commit 5ef438c

Browse files
nivedita76gregkh
authored andcommitted
arch/unicore32/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 2f01bfc commit 5ef438c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/unicore32/kernel/setup.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ void __init setup_arch(char **cmdline_p)
270270
#ifdef CONFIG_VT
271271
#if defined(CONFIG_VGA_CONSOLE)
272272
conswitchp = &vga_con;
273-
#elif defined(CONFIG_DUMMY_CONSOLE)
274-
conswitchp = &dummy_con;
275273
#endif
276274
#endif
277275
early_trap_init();

0 commit comments

Comments
 (0)