summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-02-26 23:21:32 +0000
committermav <mav@FreeBSD.org>2009-02-26 23:21:32 +0000
commit9e19feba057306f5e98a28151c121d0eefe749f2 (patch)
treea9796b9d00e63d190f2b30f98875dbf6ae234734
parente13e5273ad9a5aad3e70444ad573aaf96938cdf7 (diff)
downloadFreeBSD-src-9e19feba057306f5e98a28151c121d0eefe749f2.zip
FreeBSD-src-9e19feba057306f5e98a28151c121d0eefe749f2.tar.gz
Rollback rev. 189093.
mtx_lock() is not needed there as callout initialized with callout_init_mtx(). Sorry. Submitted by: Ian Dowse
-rw-r--r--sys/dev/ata/ata-queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c
index 283d77e..b438467 100644
--- a/sys/dev/ata/ata-queue.c
+++ b/sys/dev/ata/ata-queue.c
@@ -497,7 +497,6 @@ ata_timeout(struct ata_request *request)
//request->flags |= ATA_R_DEBUG;
ATA_DEBUG_RQ(request, "timeout");
- mtx_lock(&ch->state_mtx);
/*
* if we have an ATA_ACTIVE request running, we flag the request
* ATA_R_TIMEOUT so ata_finish will handle it correctly
OpenPOWER on IntegriCloud