summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_san_xilinx.c
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2005-12-13 05:56:23 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2005-12-13 05:56:23 +0000
commited271ffeed52ff150e2d8e777e7a64c25344c90f (patch)
tree28544b7b9c55a28aa5546b18799e96f64d5ff982 /sys/dev/pci/if_san_xilinx.c
parenta70795dc296ec462bcdfe2f565715e5f41482cba (diff)
if_san_common.c
Diffstat (limited to 'sys/dev/pci/if_san_xilinx.c')
-rw-r--r--sys/dev/pci/if_san_xilinx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_san_xilinx.c b/sys/dev/pci/if_san_xilinx.c
index 34ec14433db..78cf98742a2 100644
--- a/sys/dev/pci/if_san_xilinx.c
+++ b/sys/dev/pci/if_san_xilinx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_san_xilinx.c,v 1.16 2005/11/08 20:51:00 canacar Exp $ */
+/* $OpenBSD: if_san_xilinx.c,v 1.17 2005/12/13 05:56:22 canacar Exp $ */
/*-
* Copyright (c) 2001-2004 Sangoma Technologies (SAN)
@@ -2043,10 +2043,8 @@ xilinx_tx_post_complete(sdla_t *card, xilinx_softc_t *sc, struct mbuf *m)
tx_post_ok:
- if (ifp) {
+ if (ifp)
ifp->if_opackets++;
- ifp->if_obytes += m->m_len;
- }
/* Indicate that the first tx frame went
* out on the transparent link */