summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-02-23 10:43:10 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2026-03-30 14:47:32 +0300
commitf89a28ec1aa8e768587a1cd0d22df8f63ee52834 (patch)
treeee07a0407dcba820b0670072109d1fdec6df716f
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff)
downloadlinux-f89a28ec1aa8e768587a1cd0d22df8f63ee52834.tar.xz
m68k: q40: Remove commented out code
The pr_info() call has been commented out and printq40() has been disabled ever since commit 1da177e4c3f4 ("Linux-2.6.12-rc2"). Remove both. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/20260223074311.322070-2-thorsten.blum@linux.dev Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--arch/m68k/q40/config.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/m68k/q40/config.c b/arch/m68k/q40/config.c
index 5a4258697622..ed59a742baae 100644
--- a/arch/m68k/q40/config.c
+++ b/arch/m68k/q40/config.c
@@ -74,7 +74,6 @@ static int __init q40_debug_setup(char *arg)
{
/* useful for early debugging stages - writes kernel messages into SRAM */
if (MACH_IS_Q40 && !strncmp(arg, "mem", 3)) {
- /*pr_info("using NVRAM debug, q40_mem_cptr=%p\n",q40_mem_cptr);*/
_cpleft = 2000 - ((long)q40_mem_cptr-0xff020000) / 4;
register_console(&q40_console_driver);
}
@@ -83,20 +82,6 @@ static int __init q40_debug_setup(char *arg)
early_param("debug", q40_debug_setup);
-#if 0
-void printq40(char *str)
-{
- int l = strlen(str);
- char *p = q40_mem_cptr;
-
- while (l-- > 0 && _cpleft-- > 0) {
- *p = *str++;
- p += 4;
- }
- q40_mem_cptr = p;
-}
-#endif
-
static int halted;
#ifdef CONFIG_HEARTBEAT