Skip to content

Commit c5ff734

Browse files
nivedita76gregkh
authored andcommitted
arch/s390/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 2680e04 commit c5ff734

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/s390/kernel/setup.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ static void __init conmode_default(void)
241241
SET_CONSOLE_SCLP;
242242
#endif
243243
}
244-
if (IS_ENABLED(CONFIG_VT) && IS_ENABLED(CONFIG_DUMMY_CONSOLE))
245-
conswitchp = &dummy_con;
246244
}
247245

248246
#ifdef CONFIG_CRASH_DUMP

0 commit comments

Comments
 (0)