Now that bus_dmamem_alloc() handles its Giant mutex requirements itself,

don't bother doing the same in the code that calls it.
This commit is contained in:
Scott Long 2003-03-13 22:56:11 +00:00
parent b62f75cf44
commit 6f420b1756

View File

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