Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thorsten Blum and committed by
Geert Uytterhoeven
f89a28ec 6de23f81

-15
-15
arch/m68k/q40/config.c
··· 74 74 { 75 75 /* useful for early debugging stages - writes kernel messages into SRAM */ 76 76 if (MACH_IS_Q40 && !strncmp(arg, "mem", 3)) { 77 - /*pr_info("using NVRAM debug, q40_mem_cptr=%p\n",q40_mem_cptr);*/ 78 77 _cpleft = 2000 - ((long)q40_mem_cptr-0xff020000) / 4; 79 78 register_console(&q40_console_driver); 80 79 } ··· 81 82 } 82 83 83 84 early_param("debug", q40_debug_setup); 84 - 85 - #if 0 86 - void printq40(char *str) 87 - { 88 - int l = strlen(str); 89 - char *p = q40_mem_cptr; 90 - 91 - while (l-- > 0 && _cpleft-- > 0) { 92 - *p = *str++; 93 - p += 4; 94 - } 95 - q40_mem_cptr = p; 96 - } 97 - #endif 98 85 99 86 static int halted; 100 87