Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf npf: Remove harmless vestiges of debugging hacks.



details:   https://anonhg.NetBSD.org/src/rev/1785ec7904ac
branches:  trunk
changeset: 975383:1785ec7904ac
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Aug 28 06:35:50 2020 +0000

description:
npf: Remove harmless vestiges of debugging hacks.

diffstat:

 sys/net/npf/npf_portmap.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 64746c514667 -r 1785ec7904ac sys/net/npf/npf_portmap.c
--- a/sys/net/npf/npf_portmap.c Fri Aug 28 06:34:17 2020 +0000
+++ b/sys/net/npf/npf_portmap.c Fri Aug 28 06:35:50 2020 +0000
@@ -35,7 +35,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_portmap.c,v 1.6 2020/08/27 18:50:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_portmap.c,v 1.7 2020/08/28 06:35:50 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -113,7 +113,6 @@
 {
 
        mutex_init(&portmap_lock, MUTEX_DEFAULT, IPL_SOFTNET);
-       __insn_barrier();
 }
 
 void
@@ -121,7 +120,6 @@
 {
 
        mutex_destroy(&portmap_lock);
-       __insn_barrier();
 }
 
 void



Home | Main Index | Thread Index | Old Index