- Fix release build broken in 42400
authorStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 5 Aug 2009 15:00:30 +0000 (15:00 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 5 Aug 2009 15:00:30 +0000 (15:00 +0000)
svn path=/trunk/; revision=42407

reactos/drivers/network/tcpip/recmutex/recmutex.c

index 7c7a60a..3450ab8 100644 (file)
@@ -13,10 +13,9 @@ VOID RecursiveMutexInit( PRECURSIVE_MUTEX RecMutex ) {
 VOID RecursiveMutexEnter( PRECURSIVE_MUTEX RecMutex ) {
     NTSTATUS Status = STATUS_SUCCESS;
     PVOID CurrentThread = KeGetCurrentThread();
-    KIRQL CurrentIrql = KeGetCurrentIrql();
 
     ASSERT(RecMutex);
-    ASSERT(CurrentIrql <= APC_LEVEL);
+    ASSERT(KeGetCurrentIrql() <= APC_LEVEL);
 
     /* Wait for the previous user to unlock the RecMutex state.  There might be
     * multiple waiters waiting to change the state.  We need to check each