parport_pc: Remove stale `parport_pc_ecp_read_block_pio' reference
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sun, 8 Jan 2023 21:56:50 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jan 2023 12:12:00 +0000 (13:12 +0100)
Complement commit 991214386dee ("parport: remove unused dead code from
lowlevel drivers") and remove a stale piece of commented-out code that
refers to a function removed with said commit.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20230108215656.6433-1-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_pc.c

index 5784dc2..de7afbe 100644 (file)
@@ -2119,8 +2119,6 @@ struct parport *parport_pc_probe_port(unsigned long int base,
                p->ops->compat_write_data = parport_pc_compat_write_block_pio;
 #ifdef CONFIG_PARPORT_1284
                p->ops->ecp_write_data = parport_pc_ecp_write_block_pio;
-               /* currently broken, but working on it.. (FB) */
-               /* p->ops->ecp_read_data = parport_pc_ecp_read_block_pio; */
 #endif /* IEEE 1284 support */
                if (p->dma != PARPORT_DMA_NONE) {
                        pr_cont(", dma %d", p->dma);