[PATCH] libata: use dummy port for stolen legacy ports
[sfrench/cifs-2.6.git] / drivers / scsi / libata-core.c
index f2e7e2f13db967288fb4388b031c4208534b2f05..2ef86b4e7f6dd424bae7d87587819a35cb812efa 100644 (file)
@@ -5224,8 +5224,6 @@ void ata_port_init(struct ata_port *ap, struct ata_host_set *host_set,
        ap->dev = ent->dev;
        ap->port_no = port_no;
        ap->hard_port_no = port_no;
-       if (ent->legacy_mode)
-               ap->hard_port_no += ent->hard_port_no;
        ap->pio_mask = ent->pio_mask;
        ap->mwdma_mask = ent->mwdma_mask;
        ap->udma_mask = ent->udma_mask;