Author: dchapyshev
Date: Mon Sep 26 12:31:26 2016
New Revision: 72812
URL:
http://svn.reactos.org/svn/reactos?rev=72812&view=rev
Log:
[NTOS:KE] Use variable instead function calling
Modified:
trunk/reactos/ntoskrnl/include/internal/ke_x.h
Modified: trunk/reactos/ntoskrnl/include/internal/ke_x.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ke_x.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ke_x.h [iso-8859-1] Mon Sep 26 12:31:26 2016
@@ -1602,7 +1602,7 @@
/* Sanity checks */
ASSERT(KeGetCurrentIrql() <= APC_LEVEL);
- ASSERT(GuardedMutex->Owner == KeGetCurrentThread());
+ ASSERT(GuardedMutex->Owner == Thread);
ASSERT(Thread->SpecialApcDisable == GuardedMutex->SpecialApcDisable);
/* Destroy the Owner */