Skip to content

Commit 7012502

Browse files
nivedita76gregkh
authored andcommitted
arch/nios2/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 4b15a5b commit 7012502

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/nios2/kernel/setup.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,4 @@ void __init setup_arch(char **cmdline_p)
196196
* get kmalloc into gear
197197
*/
198198
paging_init();
199-
200-
#if defined(CONFIG_VT) && defined(CONFIG_DUMMY_CONSOLE)
201-
conswitchp = &dummy_con;
202-
#endif
203199
}

0 commit comments

Comments
 (0)