From 39b22ee16556aa5e491d4a88fd0f020f3cc5a963 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 26 Oct 2001 18:46:48 +0000 Subject: - 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 --- sys/dev/mly/mly.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/dev/mly') 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 } /******************************************************************************** -- cgit v1.1