diff options
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r-- | drivers/ata/libata-sff.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index f464ca1fa26..5be8a6058da 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -1929,7 +1929,6 @@ int sata_sff_hardreset(struct ata_link *link, unsigned int *class, | |||
1929 | 1929 | ||
1930 | rc = sata_link_hardreset(link, timing, deadline, &online, | 1930 | rc = sata_link_hardreset(link, timing, deadline, &online, |
1931 | ata_sff_check_ready); | 1931 | ata_sff_check_ready); |
1932 | *class = ATA_DEV_NONE; | ||
1933 | if (online) | 1932 | if (online) |
1934 | *class = ata_sff_dev_classify(link->device, 1, NULL); | 1933 | *class = ata_sff_dev_classify(link->device, 1, NULL); |
1935 | 1934 | ||