summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-06-29 10:24:15 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-06-29 10:24:15 +0000
commit9dd908757580b8c39e3376d93e990f411b793dd9 (patch)
tree88438c641d403ff4e4c86fbc7a47d51b7691fd59 /sys/dev/pcmcia
parent2d42a61205196476bc4b4034c2ce2fc45a1236d6 (diff)
dont double count if_ibytes here, it gets done by something inside
if_input. from and ok mpi@
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_xe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c
index f95ddbfc617..12285c9ed6a 100644
--- a/sys/dev/pcmcia/if_xe.c
+++ b/sys/dev/pcmcia/if_xe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xe.c,v 1.50 2015/06/24 09:40:54 mpi Exp $ */
+/* $OpenBSD: if_xe.c,v 1.51 2015/06/29 10:24:14 dlg Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas
@@ -685,7 +685,6 @@ xe_intr(arg)
}
tempint = xe_get(sc);
recvcount += tempint;
- ifp->if_ibytes += tempint;
esr = bus_space_read_1(sc->sc_bst, sc->sc_bsh,
sc->sc_offset + ESR);
rsr = bus_space_read_1(sc->sc_bst, sc->sc_bsh,