remove references to ic_stats

Spotted by:	Lucius Windschuh <lwindschuh@googlemail.com>
This commit is contained in:
Sam Leffler 2009-02-13 16:17:05 +00:00
parent 0d657eecf3
commit 015ebba0c0
2 changed files with 0 additions and 5 deletions

View File

@ -1442,7 +1442,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct iwn_rx_desc *desc,
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 iwn_rx_desc *desc,
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 iwn_rx_desc *desc,
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;
}

View File

@ -1478,7 +1478,6 @@ wpi_rx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc,
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 wpi_rx_desc *desc,
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;
}