summaryrefslogtreecommitdiffstats
path: root/sys/dev/wpi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wpi')
-rw-r--r--sys/dev/wpi/if_wpi.c2
1 files changed, 0 insertions, 2 deletions
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