summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-02-03 15:14:27 +0000
committerjhb <jhb@FreeBSD.org>2004-02-03 15:14:27 +0000
commit3e89d3fc1b1c7dc4708a5cc1edac4e4e10aa9987 (patch)
tree9e836aa17ec329bd874ff6f40efff712c698f954 /sys
parente972c8e6475a7dab531bd8617ecbae4a8cad374e (diff)
downloadFreeBSD-src-3e89d3fc1b1c7dc4708a5cc1edac4e4e10aa9987.zip
FreeBSD-src-3e89d3fc1b1c7dc4708a5cc1edac4e4e10aa9987.tar.gz
Remove a bogus assertion.
Noticed by: bde Pointy hat to: jhb
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_witness.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index b5a37a2..4e9e3a8 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -1180,7 +1180,6 @@ enroll(const char *description, struct lock_class *lock_class)
{
struct witness *w;
- KASSERT(!witness_cold, ("enroll called too early"));
if (witness_watch == 0 || panicstr != NULL)
return (NULL);
if ((lock_class->lc_flags & LC_SPINLOCK) && witness_skipspin)
OpenPOWER on IntegriCloud