diff options
Diffstat (limited to 'sys/dev/trm')
-rw-r--r-- | sys/dev/trm/trm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/trm/trm.c b/sys/dev/trm/trm.c index acc33a4..94d7970 100644 --- a/sys/dev/trm/trm.c +++ b/sys/dev/trm/trm.c @@ -2520,7 +2520,6 @@ trm_SRBdone(PACB pACB, PDCB pDCB, PSRB pSRB) pSRB->pSRBSGL->address = pSRB->SgSenseTemp.address; pSRB->pSRBSGL->length = pSRB->SgSenseTemp.length; pcsio->scsi_status = SCSI_STATUS_CHECK_COND; - bzero(&pcsio->sense_data, pcsio->sense_len); bcopy(trm_get_sense_buf(pACB, pSRB), &pcsio->sense_data, pcsio->sense_len); pcsio->ccb_h.status = CAM_SCSI_STATUS_ERROR @@ -3401,7 +3400,6 @@ trm_init(u_int16_t unit, device_t dev) printf("trm%d: cannot allocate ACB !\n", unit); return (NULL); } - bzero (pACB, sizeof (struct _ACB)); pACB->iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); if (pACB->iores == NULL) { |