summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac.c
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/aac/aac.c
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/aac/aac.c')
-rw-r--r--sys/dev/aac/aac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 535a783..4eef4e7 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -434,9 +434,6 @@ aac_free(struct aac_softc *sc)
if (sc->aac_regs_resource != NULL)
bus_release_resource(sc->aac_dev, SYS_RES_MEMORY,
sc->aac_regs_rid, sc->aac_regs_resource);
-#if __FreeBSD_version >= 500005
- TASK_DESTROY(&sc->aac_task_complete);
-#endif
}
/*
OpenPOWER on IntegriCloud