PERFORCE change 103173 for review
Paolo Pisati
piso at FreeBSD.org
Fri Aug 4 14:57:52 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103173
Change 103173 by piso at piso_newluxor on 2006/08/04 14:57:30
taskqueue_free() executes all the tasks still pending
on that taskqueue: in this case, taskqueue_drain() is
superfluous.
Affected files ...
.. //depot/projects/soc2006/intr_filter/dev/bfe/if_bfe.c#6 edit
Differences ...
==== //depot/projects/soc2006/intr_filter/dev/bfe/if_bfe.c#6 (text+ko) ====
@@ -475,8 +475,6 @@
device_delete_child(dev, sc->bfe_miibus);
bfe_release_resources(sc);
- taskqueue_drain(sc->sc_tq, &sc->sc_stoptask);
- taskqueue_drain(sc->sc_tq, &sc->sc_errorstask);
taskqueue_free(sc->sc_tq);
BFE_UNLOCK(sc);
mtx_destroy(&sc->bfe_mtx);
More information about the p4-projects
mailing list