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
This commit is contained in:
Matt Jacob 2013-02-26 21:37:12 +00:00
parent cc66a2c789
commit 3e0e2e2026

View File

@ -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) {