From: Albert Lee Date: Thu, 28 Jun 2007 02:05:31 +0000 (+0800) Subject: libata: remove reading alt_status from ata_hsm_qc_complete() X-Git-Tag: v2.6.22~48^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=74cdbba42dd515887ef3fc0ab498e70bd086c075;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jeff Garzik --- 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 */ } /**