arcmsr(4): don't bzero newly allocated ccb; xpt_alloc_ccb() already does that.

Reviewed by:	delphij, imp, ching2048@areca.com.tw
Tested by:	ching2048@areca.com.tw
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26840
This commit is contained in:
Edward Tomasz Napierala 2020-11-23 12:50:38 +00:00
parent 9c8c797c1a
commit 6feb84e8e7

View File

@ -1707,7 +1707,6 @@ static void arcmsr_rescan_lun(struct AdapterControlBlock *acb, int target, int l
return;
}
/* printf("arcmsr_rescan_lun: Rescan Target=%x, Lun=%x\n", target, lun); */
bzero(ccb, sizeof(union ccb));
xpt_setup_ccb(&ccb->ccb_h, path, 5);
ccb->ccb_h.func_code = XPT_SCAN_LUN;
ccb->ccb_h.cbfcnp = arcmsr_rescanLun_cb;