From 2ef522c17fdb8795eb7cef8b88d25c139aef6af4 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 26 Feb 2009 23:21:32 +0000 Subject: [PATCH] Rollback rev. 189093. mtx_lock() is not needed there as callout initialized with callout_init_mtx(). Sorry. Submitted by: Ian Dowse --- sys/dev/ata/ata-queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 283d77e44d2..b4384670c58 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