summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_parport/bpck6.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2023-03-07 23:46:00 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-03-23 12:21:05 +0900
commit617aecc2b3e75ef1d3deedbd1869bb83f1a2778f (patch)
tree7b7f36dfddbcce0f8cebfe895bf54aa94707014a /drivers/ata/pata_parport/bpck6.c
parent65f527f245e19f49221b93bae2763359f15c5fb0 (diff)
ata: pata_parport-bpck6: remove lpt_addr from struct ppc_storage
lpt_addr duplicates pi->port. Remove it. Signed-off-by: Ondrej Zary <linux@zary.sk> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_parport/bpck6.c')
-rw-r--r--drivers/ata/pata_parport/bpck6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_parport/bpck6.c b/drivers/ata/pata_parport/bpck6.c
index bc128a2c444e..50d313fc529e 100644
--- a/drivers/ata/pata_parport/bpck6.c
+++ b/drivers/ata/pata_parport/bpck6.c
@@ -78,7 +78,6 @@ static int bpck6_test_port(struct pi_adapter *pi) /* check for 8-bit port */
/*copy over duplicate stuff.. initialize state info*/
ppc->ppc_id = pi->unit;
- ppc->lpt_addr = pi->port;
/* look at the parport device to see what modes we can use */
if (pi->pardev->port->modes & PARPORT_MODE_EPP)