From owner-svn-src-all@FreeBSD.ORG Fri Feb 13 16:17:06 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 2C0371065670; Fri, 13 Feb 2009 16:17:06 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F3B118FC1B; Fri, 13 Feb 2009 16:17:05 +0000 (UTC) (envelope-from sam@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 n1DGH5XX093153; Fri, 13 Feb 2009 16:17:05 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1DGH5nk093151; Fri, 13 Feb 2009 16:17:05 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200902131617.n1DGH5nk093151@svn.freebsd.org> From: Sam Leffler Date: Fri, 13 Feb 2009 16:17:05 +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: r188582 - in head/sys/dev: iwn wpi 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: Fri, 13 Feb 2009 16:17:07 -0000 Author: sam Date: Fri Feb 13 16:17:05 2009 New Revision: 188582 URL: http://svn.freebsd.org/changeset/base/188582 Log: remove references to ic_stats Spotted by: Lucius Windschuh Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/wpi/if_wpi.c Modified: head/sys/dev/iwn/if_iwn.c ============================================================================== --- head/sys/dev/iwn/if_iwn.c Fri Feb 13 16:00:19 2009 (r188581) +++ head/sys/dev/iwn/if_iwn.c Fri Feb 13 16:17:05 2009 (r188582) @@ -1442,7 +1442,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct if (len < sizeof (struct ieee80211_frame)) { DPRINTF(sc, IWN_DEBUG_RECV, "%s: frame too short: %d\n", __func__, len); - ic->ic_stats.is_rx_tooshort++; ifp->if_ierrors++; return; } @@ -1452,7 +1451,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct if (mnew == NULL) { DPRINTF(sc, IWN_DEBUG_ANY, "%s: no mbuf to restock ring\n", __func__); - ic->ic_stats.is_rx_nobuf++; ifp->if_ierrors++; return; } @@ -1463,7 +1461,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct device_printf(sc->sc_dev, "%s: bus_dmamap_load failed, error %d\n", __func__, error); m_freem(mnew); - ic->ic_stats.is_rx_nobuf++; /* XXX need stat */ ifp->if_ierrors++; return; } Modified: head/sys/dev/wpi/if_wpi.c ============================================================================== --- head/sys/dev/wpi/if_wpi.c Fri Feb 13 16:00:19 2009 (r188581) +++ head/sys/dev/wpi/if_wpi.c Fri Feb 13 16:17:05 2009 (r188582) @@ -1478,7 +1478,6 @@ wpi_rx_intr(struct wpi_softc *sc, struct if (mnew == NULL) { DPRINTFN(WPI_DEBUG_RX, ("%s: no mbuf to restock ring\n", __func__)); - ic->ic_stats.is_rx_nobuf++; ifp->if_ierrors++; return; } @@ -1489,7 +1488,6 @@ wpi_rx_intr(struct wpi_softc *sc, struct device_printf(sc->sc_dev, "%s: bus_dmamap_load failed, error %d\n", __func__, error); m_freem(mnew); - ic->ic_stats.is_rx_nobuf++; /* XXX need stat */ ifp->if_ierrors++; return; }