From 2967d99c4af8221be29c6c0204e24467fb7d2f29 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Tue, 26 Feb 2013 22:50:25 +0100 Subject: [PATCH] isp(4): Remove a duplicate xpt_alloc_ccb() that was causing leakage. Confirmed-by: mjacob@ --- sys/dev/disk/isp/isp_freebsd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/disk/isp/isp_freebsd.c b/sys/dev/disk/isp/isp_freebsd.c index ceab16775c..be6dc74086 100644 --- a/sys/dev/disk/isp/isp_freebsd.c +++ b/sys/dev/disk/isp/isp_freebsd.c @@ -3545,8 +3545,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) { -- 2.41.0