Skip to content

Commit 2f01bfc

Browse files
nivedita76gregkh
authored andcommitted
arch/sparc/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 40b19e3 commit 2f01bfc

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arch/sparc/kernel/setup_32.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ void __init setup_arch(char **cmdline_p)
332332
break;
333333
}
334334

335-
#ifdef CONFIG_DUMMY_CONSOLE
336-
conswitchp = &dummy_con;
337-
#endif
338-
339335
idprom_init();
340336
load_mmu();
341337

arch/sparc/kernel/setup_64.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,10 +653,6 @@ void __init setup_arch(char **cmdline_p)
653653
else
654654
pr_info("ARCH: SUN4U\n");
655655

656-
#ifdef CONFIG_DUMMY_CONSOLE
657-
conswitchp = &dummy_con;
658-
#endif
659-
660656
idprom_init();
661657

662658
if (!root_flags)

0 commit comments

Comments
 (0)