From 3360e8c6be7db67d41e44cabff6a0fe5420ec05c Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Sat, 16 Feb 2008 21:56:44 +0000 Subject: Remove if_ipackets++ since ieee80211_input() already does that. --- sys/dev/usb/if_upgt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c index 776bae584fd..3ae7fe44d3e 100644 --- a/sys/dev/usb/if_upgt.c +++ b/sys/dev/usb/if_upgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upgt.c,v 1.33 2008/02/02 13:48:44 mglocker Exp $ */ +/* $OpenBSD: if_upgt.c,v 1.34 2008/02/16 21:56:43 mglocker Exp $ */ /* * Copyright (c) 2007 Marcus Glocker @@ -1819,9 +1819,6 @@ upgt_rx(struct upgt_softc *sc, uint8_t *data, int pkglen) /* node is no longer needed */ ieee80211_release_node(ic, ni); - /* increment success incoming packet counter */ - ifp->if_ipackets++; - splx(s); DPRINTF(3, "%s: RX done\n", sc->sc_dev.dv_xname); -- cgit v1.2.3