Source-Changes-HG archive

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

[src/trunk]: src/sys/net Sweep obsolete BRIDGE_MPSAFE (it's always on now)



details:   https://anonhg.NetBSD.org/src/rev/07433aa649b0
branches:  trunk
changeset: 359889:07433aa649b0
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Feb 28 10:34:04 2018 +0000

description:
Sweep obsolete BRIDGE_MPSAFE (it's always on now)

diffstat:

 sys/net/bridgestp.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 7bc94f2f9fc6 -r 07433aa649b0 sys/net/bridgestp.c
--- a/sys/net/bridgestp.c       Wed Feb 28 10:30:20 2018 +0000
+++ b/sys/net/bridgestp.c       Wed Feb 28 10:34:04 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bridgestp.c,v 1.24 2017/03/09 04:37:23 ozaki-r Exp $   */
+/*     $NetBSD: bridgestp.c,v 1.25 2018/02/28 10:34:04 ozaki-r Exp $   */
 
 /*
  * Copyright (c) 2000 Jason L. Wright (jason%thought.net@localhost)
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.24 2017/03/09 04:37:23 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.25 2018/02/28 10:34:04 ozaki-r Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -594,9 +594,7 @@
        struct bstp_tcn_unit tu;
        uint16_t len;
 
-#ifdef BRIDGE_MPSAFE
        KASSERT(bif->bif_refs > 0);
-#endif
 
        eh = mtod(m, struct ether_header *);
 



Home | Main Index | Thread Index | Old Index