mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
The "if" semantic is not needed, just fix this.
This commit is contained in:
parent
258f4727f1
commit
5047a8fd88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179306
@ -163,7 +163,7 @@ sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk,
|
||||
int catch, error;
|
||||
|
||||
class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL;
|
||||
catch = (pri) ? (pri & PCATCH) : 0;
|
||||
catch = pri & PCATCH;
|
||||
pri &= PRIMASK;
|
||||
error = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user