summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/iwn/if_iwn.c3
-rw-r--r--sys/dev/wpi/if_wpi.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index 947ecf5..21d17f1 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -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;
}
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index bb7cc24..776d089 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -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;
}
OpenPOWER on IntegriCloud