summaryrefslogtreecommitdiff
path: root/libpager/lock-completed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/lock-completed.c')
-rw-r--r--libpager/lock-completed.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libpager/lock-completed.c b/libpager/lock-completed.c
index a83badd8..a59550fe 100644
--- a/libpager/lock-completed.c
+++ b/libpager/lock-completed.c
@@ -55,9 +55,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
if (lr->start == offset && lr->end == offset + length)
{
if (lr->locks_pending)
- {
- --lr->locks_pending;
- }
+ --lr->locks_pending;
if (!lr->locks_pending && !lr->pending_writes)
condition_broadcast (&p->wakeup);
break;