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;
 
                        /*
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to