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/ef46d10e2f46
branches:  trunk
changeset: 830190:ef46d10e2f46
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 a76895021945 -r ef46d10e2f46 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