summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2019-12-18 16:44:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 15:29:16 +0100
commitfb3e7a622003f1e7c4440650c21f938bf9beb976 (patch)
tree871517b5bb3e2c14e6398a4e173686d905ff42ff /arch/csky/kernel
parent46cbe2f39976197a11da2abf27883530f3d0ddc2 (diff)
downloadlinux-stable-fb3e7a622003f1e7c4440650c21f938bf9beb976.tar.gz
linux-stable-fb3e7a622003f1e7c4440650c21f938bf9beb976.tar.bz2
linux-stable-fb3e7a622003f1e7c4440650c21f938bf9beb976.zip
arch/csky/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-9-nivedita@alum.mit.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/csky/kernel')
-rw-r--r--arch/csky/kernel/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/csky/kernel/setup.c b/arch/csky/kernel/setup.c
index 23ee604aafdb..52eaf31ba27f 100644
--- a/arch/csky/kernel/setup.c
+++ b/arch/csky/kernel/setup.c
@@ -136,10 +136,6 @@ void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_HIGHMEM
kmap_init();
#endif
-
-#if defined(CONFIG_VT) && defined(CONFIG_DUMMY_CONSOLE)
- conswitchp = &dummy_con;
-#endif
}
unsigned long va_pa_offset;