Skip to content

Commit 4b15a5b

Browse files
nivedita76gregkh
authored andcommitted
arch/nds32/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 3229af4 commit 4b15a5b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/nds32/kernel/setup.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,6 @@ void __init setup_arch(char **cmdline_p)
317317

318318
unflatten_and_copy_device_tree();
319319

320-
if(IS_ENABLED(CONFIG_VT)) {
321-
if(IS_ENABLED(CONFIG_DUMMY_CONSOLE))
322-
conswitchp = &dummy_con;
323-
}
324-
325320
*cmdline_p = boot_command_line;
326321
early_trap_init();
327322
}

0 commit comments

Comments
 (0)