Author: mav
Date: Mon Apr 18 14:15:52 2011
New Revision: 220785
URL: http://svn.freebsd.org/changeset/base/220785
Log:
Remove some used variables.
Found with: Clang Static Analyzer
Modified:
head/sys/cam/cam_xpt.c
Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c Mon Apr 18 14:14:54 2011 (r220784)
+++ head/sys/cam/cam_xpt.c Mon Apr 18 14:15:52 2011 (r220785)
@@ -2521,12 +2521,8 @@ xpt_action_default(union ccb *start_ccb)
start_ccb->ccb_h.status = CAM_DEV_NOT_THERE;
} else {
struct ccb_getdev *cgd;
- struct cam_eb *bus;
- struct cam_et *tar;
cgd = &start_ccb->cgd;
- bus = cgd->ccb_h.path->bus;
- tar = cgd->ccb_h.path->target;
cgd->protocol = dev->protocol;
cgd->inq_data = dev->inq_data;
cgd->ident_data = dev->ident_data;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"