Author: dchapyshev
Date: Sat Sep 24 09:30:06 2016
New Revision: 72787
URL:
http://svn.reactos.org/svn/reactos?rev=72787&view=rev
Log:
[NTOSKRNL] Remove unneeded sanity checks
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] Sat Sep 24 09:30:06 2016
@@ -25,7 +25,6 @@
\
/* Sanity checks */ \
ASSERT(KeGetCurrentIrql() <= APC_LEVEL); \
- ASSERT(_Thread == KeGetCurrentThread()); \
ASSERT((_Thread->SpecialApcDisable <= 0) &&
\
(_Thread->SpecialApcDisable != -32768)); \
\
@@ -42,7 +41,6 @@
\
/* Sanity checks */ \
ASSERT(KeGetCurrentIrql() <= APC_LEVEL); \
- ASSERT(_Thread == KeGetCurrentThread()); \
ASSERT(_Thread->SpecialApcDisable < 0); \
\
/* Leave region and check if APCs are OK now */ \
@@ -66,7 +64,6 @@
PKTHREAD _Thread = KeGetCurrentThread(); \
\
/* Sanity checks */ \
- ASSERT(_Thread == KeGetCurrentThread()); \
ASSERT((_Thread->KernelApcDisable <= 0) &&
\
(_Thread->KernelApcDisable != -32768)); \
\
@@ -82,7 +79,6 @@
PKTHREAD _Thread = KeGetCurrentThread(); \
\
/* Sanity checks */ \
- ASSERT(_Thread == KeGetCurrentThread()); \
ASSERT(_Thread->KernelApcDisable < 0); \
\
/* Enable Kernel APCs */ \