Author: mbosma
Date: Wed May 17 23:58:18 2006
New Revision: 21925
URL:
http://svn.reactos.ru/svn/reactos?rev=21925&view=rev
Log:
remove this changes they are unnessary.
Modified:
branches/cache_manager_rewrite/reactos/ntoskrnl/mm/balance.c
Modified: branches/cache_manager_rewrite/reactos/ntoskrnl/mm/balance.c
URL:
http://svn.reactos.ru/svn/reactos/branches/cache_manager_rewrite/reactos/nt…
==============================================================================
--- branches/cache_manager_rewrite/reactos/ntoskrnl/mm/balance.c (original)
+++ branches/cache_manager_rewrite/reactos/ntoskrnl/mm/balance.c Wed May 17 23:58:18 2006
@@ -104,7 +104,7 @@
KeAcquireSpinLock(&AllocationListLock, &oldIrql);
if (MmGetReferenceCountPage(Page) == 1)
{
- InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
+ (void)InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
if (IsListEmpty(&AllocationListHead) || MmStats.NrFreePages <
MiMinimumAvailablePages)
{
KeReleaseSpinLock(&AllocationListLock, oldIrql);
@@ -199,7 +199,7 @@
{
if (!CanWait)
{
- InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
+ (void)InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
return(STATUS_NO_MEMORY);
}
MiTrimMemoryConsumer(Consumer);
@@ -233,7 +233,7 @@
if (!CanWait)
{
- InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
+ (void)InterlockedDecrementUL(&MiMemoryConsumers[Consumer].PagesUsed);
return(STATUS_NO_MEMORY);
}
@@ -241,7 +241,7 @@
Request.Page = 0;
KeInitializeEvent(&Request.Event, NotificationEvent, FALSE);
- InterlockedIncrementUL(&MiPagesRequired);
+ (void)InterlockedIncrementUL(&MiPagesRequired);
KeAcquireSpinLock(&AllocationListLock, &oldIrql);
@@ -265,7 +265,7 @@
}
MmTransferOwnershipPage(Page, Consumer);
*AllocatedPage = Page;
- InterlockedDecrementUL(&MiPagesRequired);
+ (void)InterlockedDecrementUL(&MiPagesRequired);
return(STATUS_SUCCESS);
}