summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-28 01:52:52 +0000
committerdim <dim@FreeBSD.org>2013-12-28 01:52:52 +0000
commitd517c0e1a4586173c7b1ad21d54d6b4ae934dbba (patch)
tree666d3bfb26bb89d799693432ba43a97920372b49 /sys/kern/subr_witness.c
parente1aa82b3d2780d829e614f099cf9f1ab008d3c98 (diff)
downloadFreeBSD-src-d517c0e1a4586173c7b1ad21d54d6b4ae934dbba.zip
FreeBSD-src-d517c0e1a4586173c7b1ad21d54d6b4ae934dbba.tar.gz
MFC r259876:
In sys/kern/subr_witness.c, remove static function witness_lock_order_key_empty(), which is unused since r181695.
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r--sys/kern/subr_witness.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 9d3040d..9315133 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -305,13 +305,6 @@ witness_lock_type_equal(struct witness *w1, struct witness *w2)
}
static __inline int
-witness_lock_order_key_empty(const struct witness_lock_order_key *key)
-{
-
- return (key->from == 0 && key->to == 0);
-}
-
-static __inline int
witness_lock_order_key_equal(const struct witness_lock_order_key *a,
const struct witness_lock_order_key *b)
{
OpenPOWER on IntegriCloud