summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-03-13 22:56:11 +0000
committerscottl <scottl@FreeBSD.org>2003-03-13 22:56:11 +0000
commit45f198fa9bd709bf918772d388dbbbf8df4983ac (patch)
tree7b5a881b9cc3c84709c2424160aac47730d37f62 /sys/dev/aac/aac.c
parent34c953a7727e28704114630ad33222b9800cb199 (diff)
downloadFreeBSD-src-45f198fa9bd709bf918772d388dbbbf8df4983ac.zip
FreeBSD-src-45f198fa9bd709bf918772d388dbbbf8df4983ac.tar.gz
Now that bus_dmamem_alloc() handles its Giant mutex requirements itself,
don't bother doing the same in the code that calls it.
Diffstat (limited to 'sys/dev/aac/aac.c')
-rw-r--r--sys/dev/aac/aac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 8a16794..dd50a5c 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -751,12 +751,10 @@ aac_command_thread(struct aac_softc *sc)
/* See if any FIBs need to be allocated */
if ((sc->aifflags & AAC_AIFFLAGS_ALLOCFIBS) != 0) {
- mtx_lock(&Giant);
AAC_LOCK_ACQUIRE(&sc->aac_io_lock);
aac_alloc_commands(sc);
sc->aifflags &= ~AAC_AIFFLAGS_ALLOCFIBS;
AAC_LOCK_RELEASE(&sc->aac_io_lock);
- mtx_unlock(&Giant);
}
/* While we're here, check to see if any commands are stuck */
OpenPOWER on IntegriCloud