diff options
author | mav <mav@FreeBSD.org> | 2009-10-22 21:07:32 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-10-22 21:07:32 +0000 |
commit | 127ea9fc8850c131fbdd4e1c4dfc06e77ab10f49 (patch) | |
tree | 6505ff7eaad1017030e80afe9001767ffedd0207 /sys/cam/cam_xpt.c | |
parent | 99b8f7ec7d5e07959f1c6d186336c279cfb15e80 (diff) | |
download | FreeBSD-src-127ea9fc8850c131fbdd4e1c4dfc06e77ab10f49.zip FreeBSD-src-127ea9fc8850c131fbdd4e1c4dfc06e77ab10f49.tar.gz |
After thinking again, implement cam_ccbq_fini().
This is effectively NULL change, but makes this API a bit more consistent.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r-- | sys/cam/cam_xpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 9afeafa..5ca0584 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -4447,7 +4447,7 @@ xpt_release_device(struct cam_eb *bus, struct cam_et *target, devq = bus->sim->devq; cam_devq_resize(devq, devq->alloc_queue.array_size - 1); camq_fini(&device->drvq); - camq_fini(&device->ccbq.queue); + cam_ccbq_fini(&device->ccbq); free(device, M_CAMXPT); xpt_release_target(bus, target); } |