MIPS: AR7: Remove kgdb_enabled

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>
This commit is contained in:
Yoichi Yuasa 2009-12-18 21:20:24 +09:00 committed by Ralf Baechle
parent 42ecda1ae8
commit 57699407fa
1 changed files with 0 additions and 8 deletions

View File

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