smartpqi: don't bzero the new ccb; xpt_alloc_ccb_nowait() already does that.

Reviewed by:	imp
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26838
This commit is contained in:
Edward Tomasz Napierala 2020-11-23 12:54:19 +00:00
parent 6feb84e8e7
commit 3df3c40de4

View File

@ -623,7 +623,6 @@ static void smartpqi_lun_rescan(struct pqisrc_softstate *softs, int target,
return;
}
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 = smartpqi_lunrescan_cb;