Commit 370cbe5e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

taskmgr: Remove unused variable PageSize which is not really used from PerfDataGetPhysicalMemorySystemCacheK.
parent e9c17502
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment