aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bpfdesc.h
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2018-04-10 19:42:50 +0000
committerStephen Hurd <shurd@FreeBSD.org>2018-04-10 19:42:50 +0000
commitf422673e10d5216be1e9742e2ecdd8a67d0ec9b8 (patch)
tree8b565682a33ef2b4312601591046816420763ea1 /sys/net/bpfdesc.h
parent74d6c131cbe23e88d13763cb056a03b4d077868f (diff)
Notes
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r--sys/net/bpfdesc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index f72a579f00421..69180fa3b9813 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -118,9 +118,6 @@ struct bpf_d {
#define BPF_PID_REFRESH(bd, td) (bd)->bd_pid = (td)->td_proc->p_pid
#define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid
-#define BPF_LOCK() mtx_lock(&bpf_mtx)
-#define BPF_UNLOCK() mtx_unlock(&bpf_mtx)
-#define BPF_LOCK_ASSERT() mtx_assert(&bpf_mtx, MA_OWNED)
/*
* External representation of the bpf descriptor
*/