[1/7] parport_pc: Remove stale `parport_pc_ecp_read_block_pio' reference

Message ID 20230108215656.6433-1-sudipm.mukherjee@gmail.com
State New
Headers
Series [1/7] parport_pc: Remove stale `parport_pc_ecp_read_block_pio' reference |

Commit Message

Sudip Mukherjee Jan. 8, 2023, 9:56 p.m. UTC
  From: "Maciej W. Rozycki" <macro@orcam.me.uk>

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>
---
 drivers/parport/parport_pc.c | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index 5784dc20fb38..de7afbea96cd 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -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);