- Fix release build broken in 42400

svn path=/trunk/; revision=42407
This commit is contained in:
Stefan Ginsberg 2009-08-05 15:00:30 +00:00
parent 027a914d20
commit c9c4cbdc8e

View 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