aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sil24.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_sil24.c')
-rw-r--r--drivers/ata/sata_sil24.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c
index 20757fa6115d..27a110110077 100644
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -663,12 +663,6 @@ static int sil24_softreset(struct ata_link *link, unsigned int *class,
663 663
664 DPRINTK("ENTER\n"); 664 DPRINTK("ENTER\n");
665 665
666 if (ata_link_offline(link)) {
667 DPRINTK("PHY reports no device\n");
668 *class = ATA_DEV_NONE;
669 goto out;
670 }
671
672 /* put the port into known state */ 666 /* put the port into known state */
673 if (sil24_init_port(ap)) { 667 if (sil24_init_port(ap)) {
674 reason = "port not ready"; 668 reason = "port not ready";
@@ -693,7 +687,6 @@ static int sil24_softreset(struct ata_link *link, unsigned int *class,
693 sil24_read_tf(ap, 0, &tf); 687 sil24_read_tf(ap, 0, &tf);
694 *class = ata_dev_classify(&tf); 688 *class = ata_dev_classify(&tf);
695 689
696 out:
697 DPRINTK("EXIT, class=%u\n", *class); 690 DPRINTK("EXIT, class=%u\n", *class);
698 return 0; 691 return 0;
699 692