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 <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20191218214506.49252-17-nivedita@alum.mit.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bd3b067 commit 82292aa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎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)