summaryrefslogtreecommitdiff
path: root/sys/kern/subr_lock.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-01-18 18:02:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-01-18 18:02:50 +0000
commit25e498b4b017808683248297c0985145a9457b7f (patch)
tree1417ec2418a7b9f6389436ad01351de153eca006 /sys/kern/subr_lock.c
parent949c433eab3068aaf01aeafe55a9775c2fdea80c (diff)
Notes
Diffstat (limited to 'sys/kern/subr_lock.c')
-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 db1f8c9a72c0..cb7bc768380c 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,