1
0
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:
Attilio Rao 2008-05-25 16:11:27 +00:00
parent 258f4727f1
commit 5047a8fd88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179306

View File

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