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
80c76b58f6
commit
11168a6089
@ -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…
x
Reference in New Issue
Block a user