summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-06-28 10:05:31 +0800
committerJeff Garzik <jeff@garzik.org>2007-07-02 10:12:34 -0400
commit74cdbba42dd515887ef3fc0ab498e70bd086c075 (patch)
tree03d4039ec50333a63933645c10a9f359230b2522 /drivers/ata
parent8c781bf77a339748839bfd5eedfe2ad3e0e05c4a (diff)
libata: remove reading alt_status from ata_hsm_qc_complete()
In ata_hsm_qc_complete(): Calling ata_altstatus() after the qc is completed might race with next qc. Remove it. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index bfc59a10472..95671d6a0ce 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4781,8 +4781,6 @@ static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq)
} else
ata_qc_complete(qc);
}
-
- ata_altstatus(ap); /* flush */
}
/**