diff options
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r-- | drivers/ata/sata_inic162x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c index 9f47d0022453..d27bb9a2568f 100644 --- a/drivers/ata/sata_inic162x.c +++ b/drivers/ata/sata_inic162x.c | |||
@@ -428,8 +428,6 @@ static int inic_hardreset(struct ata_link *link, unsigned int *class, | |||
428 | 428 | ||
429 | ata_sff_tf_read(ap, &tf); | 429 | ata_sff_tf_read(ap, &tf); |
430 | *class = ata_dev_classify(&tf); | 430 | *class = ata_dev_classify(&tf); |
431 | if (*class == ATA_DEV_UNKNOWN) | ||
432 | *class = ATA_DEV_NONE; | ||
433 | } | 431 | } |
434 | 432 | ||
435 | return 0; | 433 | return 0; |