diff options
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 0de6432ee026..739ba3f222e8 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -1273,12 +1273,6 @@ static int ahci_softreset(struct ata_link *link, unsigned int *class, | |||
1273 | 1273 | ||
1274 | DPRINTK("ENTER\n"); | 1274 | DPRINTK("ENTER\n"); |
1275 | 1275 | ||
1276 | if (ata_link_offline(link)) { | ||
1277 | DPRINTK("PHY reports no device\n"); | ||
1278 | *class = ATA_DEV_NONE; | ||
1279 | return 0; | ||
1280 | } | ||
1281 | |||
1282 | /* prepare for SRST (AHCI-1.1 10.4.1) */ | 1276 | /* prepare for SRST (AHCI-1.1 10.4.1) */ |
1283 | rc = ahci_kick_engine(ap, 1); | 1277 | rc = ahci_kick_engine(ap, 1); |
1284 | if (rc && rc != -EOPNOTSUPP) | 1278 | if (rc && rc != -EOPNOTSUPP) |