Remove return after panic.

Found by:       FlexeLint
This commit is contained in:
Poul-Henning Kamp 2003-05-31 20:09:42 +00:00
parent a62f80f8e0
commit b1921a6f33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115537

View file

@ -1649,7 +1649,6 @@ witness_assert(struct lock_object *lock, int flags, const char *file, int line)
else {
panic("Lock (%s) %s is not sleep or spin!",
lock->lo_class->lc_name, lock->lo_name);
return;
}
file = fixup_filename(file);
switch (flags) {