mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not initialize path variable with useless value just before
xpt_create_path overwrites it anyway. Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
5cf3bf70f7
commit
693937214b
1 changed files with 0 additions and 1 deletions
|
|
@ -5363,7 +5363,6 @@ xpt_scan_bus(struct cam_periph *periph, union ccb *request_ccb)
|
|||
struct cam_path *path;
|
||||
cam_status status;
|
||||
|
||||
path = request_ccb->ccb_h.path;
|
||||
status = xpt_create_path(&path, xpt_periph,
|
||||
path_id, target_id, lun_id);
|
||||
if (status != CAM_REQ_CMP) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue