summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-10-26 18:46:48 +0000
committerjhb <jhb@FreeBSD.org>2001-10-26 18:46:48 +0000
commit39b22ee16556aa5e491d4a88fd0f020f3cc5a963 (patch)
tree1cb183e25fc74879d8354cf488e60e59eb570fb4 /sys/dev/mly
parentde855cd62618249bccc361160895e1506935c3b8 (diff)
downloadFreeBSD-src-39b22ee16556aa5e491d4a88fd0f020f3cc5a963.zip
FreeBSD-src-39b22ee16556aa5e491d4a88fd0f020f3cc5a963.tar.gz
- Change the taskqueue locking to protect the necessary parts of a task
while it is on a queue with the queue lock and remove the per-task locks. - Remove TASK_DESTROY now that it is no longer needed. - Go back to inlining TASK_INIT now that it is short again. Inspired by: dfr
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 06115f3..e7b7a5c 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -732,10 +732,6 @@ mly_free(struct mly_softc *sc)
/* release the register window mapping */
if (sc->mly_regs_resource != NULL)
bus_release_resource(sc->mly_dev, SYS_RES_MEMORY, sc->mly_regs_rid, sc->mly_regs_resource);
-
-#if __FreeBSD_version >= 500005
- TASK_DESTROY(&sc->mly_task_complete);
-#endif
}
/********************************************************************************
OpenPOWER on IntegriCloud