Skip to content

Commit 40b19e3

Browse files
nivedita76gregkh
authored andcommitted
arch/sh/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 c5ff734 commit 40b19e3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/sh/kernel/setup.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,6 @@ void __init setup_arch(char **cmdline_p)
341341

342342
paging_init();
343343

344-
#ifdef CONFIG_DUMMY_CONSOLE
345-
conswitchp = &dummy_con;
346-
#endif
347-
348344
/* Perform the machine specific initialisation */
349345
if (likely(sh_mv.mv_setup))
350346
sh_mv.mv_setup(cmdline_p);

0 commit comments

Comments
 (0)