svn commit: r367949 - head/sys/dev/smartpqi
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Nov 23 12:54:20 UTC 2020
Author: trasz
Date: Mon Nov 23 12:54:19 2020
New Revision: 367949
URL: https://svnweb.freebsd.org/changeset/base/367949
Log:
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
Modified:
head/sys/dev/smartpqi/smartpqi_cam.c
Modified: head/sys/dev/smartpqi/smartpqi_cam.c
==============================================================================
--- head/sys/dev/smartpqi/smartpqi_cam.c Mon Nov 23 12:50:38 2020 (r367948)
+++ head/sys/dev/smartpqi/smartpqi_cam.c Mon Nov 23 12:54:19 2020 (r367949)
@@ -623,7 +623,6 @@ static void smartpqi_lun_rescan(struct pqisrc_softstat
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;
More information about the svn-src-all
mailing list