Rollback rev. 189093.

mtx_lock() is not needed there as callout initialized with callout_init_mtx().
Sorry.

Submitted by:	Ian Dowse
This commit is contained in:
Alexander Motin 2009-02-26 23:21:32 +00:00
parent 77de503bfa
commit 2ef522c17f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189095

View File

@ -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