Remove ALC_LOCK_ASSERT in alc_stop_queue(). This function is now

called in device attach without holding a driver lock so it
resulted in panic.

Reported by:	markj
This commit is contained in:
Pyun YongHyeon 2014-10-13 01:06:40 +00:00
parent b081e68c53
commit 416f6852e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273018

View File

@ -4394,8 +4394,6 @@ alc_stop_queue(struct alc_softc *sc)
uint32_t reg;
int i;
ALC_LOCK_ASSERT(sc);
/* Disable RxQ. */
reg = CSR_READ_4(sc, ALC_RXQ_CFG);
if ((sc->alc_flags & ALC_FLAG_AR816X_FAMILY) == 0) {