mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove a bogus assertion.
Noticed by: bde Pointy hat to: jhb
This commit is contained in:
parent
43cebabc9f
commit
3e9ac3ebf2
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue