svn commit: r217009 - head/sys/dev/mpt

Marius Strobl marius at FreeBSD.org
Wed Jan 5 14:33:48 UTC 2011


Author: marius
Date: Wed Jan  5 14:33:48 2011
New Revision: 217009
URL: http://svn.freebsd.org/changeset/base/217009

Log:
  Remove a redundant variable assignment found with the clang static analyzer.
  
  MFC after:	1 week

Modified:
  head/sys/dev/mpt/mpt_cam.c

Modified: head/sys/dev/mpt/mpt_cam.c
==============================================================================
--- head/sys/dev/mpt/mpt_cam.c	Wed Jan  5 13:50:37 2011	(r217008)
+++ head/sys/dev/mpt/mpt_cam.c	Wed Jan  5 14:33:48 2011	(r217009)
@@ -2971,7 +2971,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