From 693937214bd30fa4f27ed45b409ed29b459ce70d Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 11 May 2005 17:39:33 +0000 Subject: [PATCH] Do not initialize path variable with useless value just before xpt_create_path overwrites it anyway. Noticed by: Coverity Prevent analysis tool --- sys/cam/cam_xpt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 6c47d4962a3..2d463159fef 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -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) {