svn commit: r217419 - stable/7/sys/dev/mpt

Marius Strobl marius at FreeBSD.org
Fri Jan 14 20:28:12 UTC 2011


Author: marius
Date: Fri Jan 14 20:28:12 2011
New Revision: 217419
URL: http://svn.freebsd.org/changeset/base/217419

Log:
  MFC: r217009
  
  Remove a redundant variable assignment found with the clang static analyzer.

Modified:
  stable/7/sys/dev/mpt/mpt_cam.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/mpt/mpt_cam.c
==============================================================================
--- stable/7/sys/dev/mpt/mpt_cam.c	Fri Jan 14 20:28:11 2011	(r217418)
+++ stable/7/sys/dev/mpt/mpt_cam.c	Fri Jan 14 20:28:12 2011	(r217419)
@@ -2965,7 +2965,7 @@ mpt_fc_els_reply_handler(struct mpt_soft
 		}
 		if (tgt_req) {
 			mpt_tgt_state_t *tgt = MPT_TGT_STATE(mpt, tgt_req);
-			union ccb *ccb = tgt->ccb;
+			union ccb *ccb;
 			uint32_t ct_id;
 
 			/*


More information about the svn-src-all mailing list