Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough.

This commit is contained in:
Olivier Houchard 2004-01-21 10:49:42 +00:00
parent 4591175cd8
commit cf45d5da77

View File

@ -1878,7 +1878,6 @@ SRBdone(struct amd_softc *amd, struct amd_srb *pSRB)
status = pSRB->TargetStatus;
pccb->ccb_h.status = CAM_REQ_CMP;
pccb->ccb_h.status = CAM_REQ_CMP;
if (pSRB->SRBFlag & AUTO_REQSENSE) {
pSRB->SRBFlag &= ~AUTO_REQSENSE;
pSRB->AdaptStatus = 0;