Commit 993c833c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntoskrnl.exe: Remove a superfluous condition.

parent 216530f2
......@@ -1251,7 +1251,7 @@ void WINAPI IoReleaseRemoveLockAndWaitEx( IO_REMOVE_LOCK *lock, void *tag, ULONG
lock->Common.Removed = TRUE;
if (!(count = InterlockedDecrement( &lock->Common.IoCount )) && lock->Common.Removed)
if (!(count = InterlockedDecrement( &lock->Common.IoCount )))
KeSetEvent( &lock->Common.RemoveEvent, IO_NO_INCREMENT, FALSE );
else if (count < 0)
ERR("Lock %p is not acquired!\n", lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment