summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDariusz Swiderski <dms@cvs.openbsd.org>2009-10-11 19:24:49 +0000
committerDariusz Swiderski <dms@cvs.openbsd.org>2009-10-11 19:24:49 +0000
commit58deb9fca3eaf05c87e9ed86f93d4b855ff6cc59 (patch)
treeea341eb52f3b04ec63dd7403b52e853acf3106d5
parent08af9c0224af2cab613f3f43cff9398e0e1866d2 (diff)
remove duplicate ierrors increment (rx_overruns gets incremented) which was
introduced in rev. 1.204. from brad ok by claudio@
-rw-r--r--sys/dev/pci/if_em.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index ad910531b81..af0f1e46b98 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.226 2009/10/11 00:18:37 dms Exp $ */
+/* $OpenBSD: if_em.c,v 1.227 2009/10/11 19:24:48 dms Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -808,7 +808,6 @@ em_intr(void *arg)
if (reg_icr & E1000_ICR_RXO) {
sc->rx_overruns++;
- ifp->if_ierrors++;
refill = 1;
}