Skip to content

Commit 82292aa

Browse files
nivedita76gregkh
authored andcommitted
arch/parisc/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 bd3b067 commit 82292aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/parisc/kernel/setup.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ void __init setup_arch(char **cmdline_p)
151151
dma_ops_init();
152152
#endif
153153

154-
#if defined(CONFIG_VT) && defined(CONFIG_DUMMY_CONSOLE)
155-
conswitchp = &dummy_con; /* we use do_take_over_console() later ! */
156-
#endif
157-
158154
clear_sched_clock_stable();
159155
}
160156

0 commit comments

Comments
 (0)