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:
parent
6feb84e8e7
commit
3df3c40de4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user