aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-03-13 22:56:11 +0000
committerScott Long <scottl@FreeBSD.org>2003-03-13 22:56:11 +0000
commit6f420b1756a7db7d8dd6b0a687bdfa1bb01bf2ff (patch)
tree7b5a881b9cc3c84709c2424160aac47730d37f62 /sys/dev
parentb62f75cf4406c25c5910775e81241f19ccc77e99 (diff)
downloadsrc-6f420b1756a7db7d8dd6b0a687bdfa1bb01bf2ff.tar.gz
src-6f420b1756a7db7d8dd6b0a687bdfa1bb01bf2ff.zip
Now that bus_dmamem_alloc() handles its Giant mutex requirements itself,
don't bother doing the same in the code that calls it.
Notes
Notes: svn path=/head/; revision=112207
Diffstat (limited to 'sys/dev')
-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 8a1679472d07..dd50a5c52f83 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 */