Skip to content

Commit 7e6652c

Browse files
committed
parisc: Drop duplicate kgdb_pdc console
The kgdb console is already implemented and registered in pdc_cons.c, so the duplicate code can be dropped. Signed-off-by: Helge Deller <[email protected]> Cc: <[email protected]> # 6.1+
1 parent 7236aae commit 7e6652c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

arch/parisc/kernel/kgdb.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -208,23 +208,3 @@ int kgdb_arch_handle_exception(int trap, int signo,
208208
}
209209
return -1;
210210
}
211-
212-
/* KGDB console driver which uses PDC to read chars from keyboard */
213-
214-
static void kgdb_pdc_write_char(u8 chr)
215-
{
216-
/* no need to print char. kgdb will do it. */
217-
}
218-
219-
static struct kgdb_io kgdb_pdc_io_ops = {
220-
.name = "kgdb_pdc",
221-
.read_char = pdc_iodc_getc,
222-
.write_char = kgdb_pdc_write_char,
223-
};
224-
225-
static int __init kgdb_pdc_init(void)
226-
{
227-
kgdb_register_io_module(&kgdb_pdc_io_ops);
228-
return 0;
229-
}
230-
early_initcall(kgdb_pdc_init);

0 commit comments

Comments
 (0)