summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_lock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_lock.c b/sys/kern/subr_lock.c
index db1f8c9..cb7bc76 100644
--- a/sys/kern/subr_lock.c
+++ b/sys/kern/subr_lock.c
@@ -49,13 +49,11 @@ __FBSDID("$FreeBSD$");
CTASSERT(LOCK_CLASS_MAX == 15);
-#if LOCK_DEBUG > 0 || defined(DDB)
struct lock_class *lock_classes[LOCK_CLASS_MAX + 1] = {
&lock_class_mtx_spin,
&lock_class_mtx_sleep,
&lock_class_sx,
};
-#endif
void
lock_init(struct lock_object *lock, struct lock_class *class, const char *name,
OpenPOWER on IntegriCloud