Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci G/C



details:   https://anonhg.NetBSD.org/src/rev/c8cccdb1d4c5
branches:  trunk
changeset: 369634:c8cccdb1d4c5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Aug 25 06:43:30 2022 +0000

description:
G/C

diffstat:

 sys/dev/pci/if_bge.c |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (34 lines):

diff -r 5d477734a90f -r c8cccdb1d4c5 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Thu Aug 25 06:23:38 2022 +0000
+++ b/sys/dev/pci/if_bge.c      Thu Aug 25 06:43:30 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.380 2022/08/19 07:52:22 skrll Exp $       */
+/*     $NetBSD: if_bge.c,v 1.381 2022/08/25 06:43:30 skrll Exp $       */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.380 2022/08/19 07:52:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.381 2022/08/25 06:43:30 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -4953,15 +4953,6 @@
                      READ_STAT(sc, stats, xoffStateEntered.bge_addr_lo));
 
 #undef READ_STAT
-
-#ifdef notdef
-       ifp->if_collisions +=
-          (sc->bge_rdata->bge_info.bge_stats.dot3StatsSingleCollisionFrames +
-          sc->bge_rdata->bge_info.bge_stats.dot3StatsMultipleCollisionFrames +
-          sc->bge_rdata->bge_info.bge_stats.dot3StatsExcessiveCollisions +
-          sc->bge_rdata->bge_info.bge_stats.dot3StatsLateCollisions) -
-          ifp->if_collisions;
-#endif
 }
 
 /*



Home | Main Index | Thread Index | Old Index