taskmgr: Remove unused variable PageSize which is not really used from PerfDataGetPhysicalMemorySystemCacheK.

This commit is contained in:
Gerald Pfeifer 2010-05-01 16:45:36 +02:00 committed by Alexandre Julliard
parent e9c1750204
commit 370cbe5e5b

View File

@ -807,16 +807,13 @@ ULONG PerfDataGetPhysicalMemoryAvailableK(void)
ULONG PerfDataGetPhysicalMemorySystemCacheK(void)
{
ULONG SystemCache;
ULONG PageSize;
EnterCriticalSection(&PerfDataCriticalSection);
SystemCache = SystemCacheInfo.CurrentSize;
PageSize = SystemBasicInfo.uPageSize;
LeaveCriticalSection(&PerfDataCriticalSection);
/* SystemCache = SystemCache * (PageSize / 1024); */
SystemCache = SystemCache / 1024;
return SystemCache;