diff options
author | scottl <scottl@FreeBSD.org> | 2005-02-09 11:50:16 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-02-09 11:50:16 +0000 |
commit | 1858067a9d834f32a544b93fb7f44bd182c1b3dc (patch) | |
tree | 8f200ed22edc66aab4804dc5eab0d53ccb0684ef /sys/dev/aac | |
parent | c7b1a38815c93b4ae58373b7d449d694687fb0e3 (diff) | |
download | FreeBSD-src-1858067a9d834f32a544b93fb7f44bd182c1b3dc.zip FreeBSD-src-1858067a9d834f32a544b93fb7f44bd182c1b3dc.tar.gz |
Remove the messy locking dance around xpt_done()
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac_cam.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/aac/aac_cam.c b/sys/dev/aac/aac_cam.c index 3755e58..8423f44 100644 --- a/sys/dev/aac/aac_cam.c +++ b/sys/dev/aac/aac_cam.c @@ -495,12 +495,7 @@ aac_cam_complete(struct aac_command *cm) } aac_release_command(cm); - - mtx_unlock(&sc->aac_io_lock); - mtx_lock(&Giant); xpt_done(ccb); - mtx_unlock(&Giant); - mtx_lock(&sc->aac_io_lock); return; } |