Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 14:33:48 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217009 - head/sys/dev/mpt
Message-ID:  <201101051433.p05EXmXr081213@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 
 			/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101051433.p05EXmXr081213>