From owner-svn-src-all@FreeBSD.ORG Mon Feb 9 16:58:18 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C01210657AD; Mon, 9 Feb 2009 16:58:18 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 767A48FC25; Mon, 9 Feb 2009 16:58:18 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n19GwIDJ065680; Mon, 9 Feb 2009 16:58:18 GMT (envelope-from fjoe@svn.freebsd.org) Received: (from fjoe@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n19GwIOk065678; Mon, 9 Feb 2009 16:58:18 GMT (envelope-from fjoe@svn.freebsd.org) Message-Id: <200902091658.n19GwIOk065678@svn.freebsd.org> From: Max Khon Date: Mon, 9 Feb 2009 16:58:18 +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: r188394 - head/sys/dev/firewire X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:58:21 -0000 Author: fjoe Date: Mon Feb 9 16:58:18 2009 New Revision: 188394 URL: http://svn.freebsd.org/changeset/base/188394 Log: Do not self-initialize a variable. Found with: Coverity Prevent(tm) CID: 3864, 3865 Modified: head/sys/dev/firewire/if_fwe.c head/sys/dev/firewire/if_fwip.c Modified: head/sys/dev/firewire/if_fwe.c ============================================================================== --- head/sys/dev/firewire/if_fwe.c Mon Feb 9 16:57:07 2009 (r188393) +++ head/sys/dev/firewire/if_fwe.c Mon Feb 9 16:58:18 2009 (r188394) @@ -445,7 +445,7 @@ fwe_ioctl(struct ifnet *ifp, u_long cmd, #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwe->fd.fc; + struct firewire_comm *fc = fwe->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) { Modified: head/sys/dev/firewire/if_fwip.c ============================================================================== --- head/sys/dev/firewire/if_fwip.c Mon Feb 9 16:57:07 2009 (r188393) +++ head/sys/dev/firewire/if_fwip.c Mon Feb 9 16:58:18 2009 (r188394) @@ -427,7 +427,7 @@ fwip_ioctl(struct ifnet *ifp, u_long cmd #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwip->fd.fc; + struct firewire_comm *fc = fwip->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) {