diff options
author | mjacob <mjacob@FreeBSD.org> | 2013-02-26 21:37:12 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2013-02-26 21:37:12 +0000 |
commit | 713f35745721c5e4f5dcd5fca1a151441039d598 (patch) | |
tree | b9a3e632ff9c42ecd2c658c0bec9862afe4219f9 /sys/dev/isp | |
parent | b32aae39278d9212e6a77b34e2f4e33b9b303e4a (diff) | |
download | FreeBSD-src-713f35745721c5e4f5dcd5fca1a151441039d598.zip FreeBSD-src-713f35745721c5e4f5dcd5fca1a151441039d598.tar.gz |
Remove redundant xpt_alloc_ccb in isp_target_thread that was causing leakage.
Pointed out by: Sascha Wildner of DragonFly BSD
MFC after: 1 week
Diffstat (limited to 'sys/dev/isp')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 328244a..8b1ca9c 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -4140,8 +4140,6 @@ isp_target_thread(ispsoftc_t *isp, int chan) return; } - ccb = xpt_alloc_ccb(); - ISP_LOCK(isp); status = cam_periph_alloc(isptargctor, NULL, isptargdtor, isptargstart, "isptarg", CAM_PERIPH_BIO, wpath, NULL, 0, softc); if (status != CAM_REQ_CMP) { |