From 3e0e2e20266426ea16064e6686be26af52c1db4d Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Tue, 26 Feb 2013 21:37:12 +0000 Subject: [PATCH] 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 --- sys/dev/isp/isp_freebsd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 328244a51c31..8b1ca9c46832 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) {