⬢ DragonFlyBSD Kernel Audit
DF-3659 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/disk/isp/isp_freebsd.c
+++ b/sys/dev/disk/isp/isp_freebsd.c
@@ -664,7 +664,6 @@
 		isp_get_24xx_response(isp, &((isp24xx_statusreq_t *)fcp->isp_scratch)[1], sp);
 		FC_SCRATCH_RELEASE(isp, chan);
 		if (retval || sp->req_completion_status != 0) {
-			FC_SCRATCH_RELEASE(isp, chan);
 			retval = EIO;
 		}
 		if (retval == 0) {