[NTOS:KE] Use variable instead function calling

svn path=/trunk/; revision=72812
This commit is contained in:
Dmitry Chapyshev 2016-09-26 12:31:26 +00:00
parent aac32378ed
commit 75df465bbf

View file

@ -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 */