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:
kan 2005-05-11 17:39:33 +00:00
parent 80c76b58f6
commit 11168a6089

View File

@ -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) {