MIPS: AR7: Remove kgdb_enabled
authorYoichi Yuasa <yuasa@linux-mips.org>
Fri, 18 Dec 2009 12:20:24 +0000 (21:20 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:31 +0000 (18:19 +0100)
An unused leftover from the old KGDB implementation.

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/794/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ar7/prom.c

index 5ad6f1db65677b17f41082f6b38895eb19d43e46..453dd22ad416e493d1357b16ff9ece36964d408e 100644 (file)
@@ -219,14 +219,6 @@ static void __init console_config(void)
        if (strstr(prom_getcmdline(), "console="))
                return;
 
-#ifdef CONFIG_KGDB
-       if (!strstr(prom_getcmdline(), "nokgdb")) {
-               strcat(prom_getcmdline(), " console=kgdb");
-               kgdb_enabled = 1;
-               return;
-       }
-#endif
-
        s = prom_getenv("modetty0");
        if (s) {
                baud = simple_strtoul(s, &p, 10);