Remove a bogus assertion.

Noticed by:	bde
Pointy hat to:	jhb
This commit is contained in:
John Baldwin 2004-02-03 15:14:27 +00:00
parent 43cebabc9f
commit 3e9ac3ebf2

View file

@ -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)