diff options
author | Helge Deller <deller@gmx.de> | 2022-11-26 21:35:29 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-18 22:18:49 +0100 |
commit | 7e6652c79ecd74e1112500668d956367dc3772a5 (patch) | |
tree | 9f11f2a83c50849910a50de7b5754dca944cdacd /arch/parisc | |
parent | parisc: Fix locking in pdc_iodc_print() firmware call (diff) | |
download | linux-7e6652c79ecd74e1112500668d956367dc3772a5.tar.xz linux-7e6652c79ecd74e1112500668d956367dc3772a5.zip |
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 <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 6.1+
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/kgdb.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/parisc/kernel/kgdb.c b/arch/parisc/kernel/kgdb.c index ab7620f695be..b16fa9bac5f4 100644 --- a/arch/parisc/kernel/kgdb.c +++ b/arch/parisc/kernel/kgdb.c @@ -208,23 +208,3 @@ int kgdb_arch_handle_exception(int trap, int signo, } return -1; } - -/* KGDB console driver which uses PDC to read chars from keyboard */ - -static void kgdb_pdc_write_char(u8 chr) -{ - /* no need to print char. kgdb will do it. */ -} - -static struct kgdb_io kgdb_pdc_io_ops = { - .name = "kgdb_pdc", - .read_char = pdc_iodc_getc, - .write_char = kgdb_pdc_write_char, -}; - -static int __init kgdb_pdc_init(void) -{ - kgdb_register_io_module(&kgdb_pdc_io_ops); - return 0; -} -early_initcall(kgdb_pdc_init); |