aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r--drivers/ata/pata_scc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c
index 7bdea8a4ca7e..e965b251ca24 100644
--- a/drivers/ata/pata_scc.c
+++ b/drivers/ata/pata_scc.c
@@ -615,11 +615,6 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,
615 615
616 DPRINTK("ENTER\n"); 616 DPRINTK("ENTER\n");
617 617
618 if (ata_link_offline(link)) {
619 classes[0] = ATA_DEV_NONE;
620 goto out;
621 }
622
623 /* determine if device 0/1 are present */ 618 /* determine if device 0/1 are present */
624 if (scc_devchk(ap, 0)) 619 if (scc_devchk(ap, 0))
625 devmask |= (1 << 0); 620 devmask |= (1 << 0);
@@ -645,7 +640,6 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,
645 classes[1] = ata_sff_dev_classify(&ap->link.device[1], 640 classes[1] = ata_sff_dev_classify(&ap->link.device[1],
646 devmask & (1 << 1), &err); 641 devmask & (1 << 1), &err);
647 642
648 out:
649 DPRINTK("EXIT, classes[0]=%u [1]=%u\n", classes[0], classes[1]); 643 DPRINTK("EXIT, classes[0]=%u [1]=%u\n", classes[0], classes[1]);
650 return 0; 644 return 0;
651} 645}