diff options
author | jhb <jhb@FreeBSD.org> | 2001-10-26 18:46:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-10-26 18:46:48 +0000 |
commit | 39b22ee16556aa5e491d4a88fd0f020f3cc5a963 (patch) | |
tree | 1cb183e25fc74879d8354cf488e60e59eb570fb4 /sys/dev/amr | |
parent | de855cd62618249bccc361160895e1506935c3b8 (diff) | |
download | FreeBSD-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/amr')
-rw-r--r-- | sys/dev/amr/amr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index 1e928c1..2b5eca1 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -320,10 +320,6 @@ amr_free(struct amr_softc *sc) TAILQ_REMOVE(&sc->amr_cmd_clusters, acc, acc_link); amr_freecmd_cluster(acc); } - -#if __FreeBSD_version >= 500005 - TASK_DESTROY(&sc->amr_task_complete); -#endif } /******************************************************************************* |