mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 23:35:02 +00:00
Remove return after panic.
Found by: FlexeLint
This commit is contained in:
parent
a62f80f8e0
commit
b1921a6f33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115537
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue