From: Yoichi Yuasa Date: Fri, 18 Dec 2009 12:20:24 +0000 (+0900) Subject: MIPS: AR7: Remove kgdb_enabled X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=57699407faf009f2abc33e381bc82b4c81bb0585;p=openwrt%2Fstaging%2Fblogic.git MIPS: AR7: Remove kgdb_enabled An unused leftover from the old KGDB implementation. Signed-off-by: Yoichi Yuasa Patchwork: http://patchwork.linux-mips.org/patch/794/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c index 5ad6f1db6567..453dd22ad416 100644 --- a/arch/mips/ar7/prom.c +++ b/arch/mips/ar7/prom.c @@ -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);