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:
parent
b62f75cf44
commit
6f420b1756
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user