From owner-svn-src-head@FreeBSD.ORG Wed Jan 5 14:33:48 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89197106564A; Wed, 5 Jan 2011 14:33:48 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 789EC8FC14; Wed, 5 Jan 2011 14:33:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p05EXmxf081215; Wed, 5 Jan 2011 14:33:48 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p05EXmXr081213; Wed, 5 Jan 2011 14:33:48 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201101051433.p05EXmXr081213@svn.freebsd.org> From: Marius Strobl Date: Wed, 5 Jan 2011 14:33:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217009 - head/sys/dev/mpt X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 14:33:48 -0000 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; /*