In sys/kern/subr_witness.c, remove static function
witness_lock_order_key_empty(), which is unused since r181695. MFC after: 3 days
This commit is contained in:
parent
3371b88c7b
commit
951d674203
@ -304,13 +304,6 @@ witness_lock_type_equal(struct witness *w1, struct witness *w2)
|
||||
(w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)));
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user