mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[NTOS:KE] Use variable instead function calling
svn path=/trunk/; revision=72812
This commit is contained in:
parent
aac32378ed
commit
75df465bbf
|
@ -1602,7 +1602,7 @@ _KeReleaseGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
|
|||
|
||||
/* Sanity checks */
|
||||
ASSERT(KeGetCurrentIrql() <= APC_LEVEL);
|
||||
ASSERT(GuardedMutex->Owner == KeGetCurrentThread());
|
||||
ASSERT(GuardedMutex->Owner == Thread);
|
||||
ASSERT(Thread->SpecialApcDisable == GuardedMutex->SpecialApcDisable);
|
||||
|
||||
/* Destroy the Owner */
|
||||
|
|
Loading…
Reference in a new issue