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:
parent
cc66a2c789
commit
3e0e2e2026
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user