ntoskrnl.exe: Remove a superfluous condition.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-11-28 19:29:46 -06:00 committed by Alexandre Julliard
parent 216530f230
commit 993c833cf4
1 changed files with 1 additions and 1 deletions

View File

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