Skip to content

Commit f89a28e

Browse files
tobluxgeertu
authored andcommitted
m68k: q40: Remove commented out code
The pr_info() call has been commented out and printq40() has been disabled ever since commit 1da177e ("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>
1 parent 6de23f8 commit f89a28e

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

arch/m68k/q40/config.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ static int __init q40_debug_setup(char *arg)
7474
{
7575
/* useful for early debugging stages - writes kernel messages into SRAM */
7676
if (MACH_IS_Q40 && !strncmp(arg, "mem", 3)) {
77-
/*pr_info("using NVRAM debug, q40_mem_cptr=%p\n",q40_mem_cptr);*/
7877
_cpleft = 2000 - ((long)q40_mem_cptr-0xff020000) / 4;
7978
register_console(&q40_console_driver);
8079
}
@@ -83,20 +82,6 @@ static int __init q40_debug_setup(char *arg)
8382

8483
early_param("debug", q40_debug_setup);
8584

86-
#if 0
87-
void printq40(char *str)
88-
{
89-
int l = strlen(str);
90-
char *p = q40_mem_cptr;
91-
92-
while (l-- > 0 && _cpleft-- > 0) {
93-
*p = *str++;
94-
p += 4;
95-
}
96-
q40_mem_cptr = p;
97-
}
98-
#endif
99-
10085
static int halted;
10186

10287
#ifdef CONFIG_HEARTBEAT

0 commit comments

Comments
 (0)