mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
taskmgr: Remove unused variable PageSize which is not really used from PerfDataGetPhysicalMemorySystemCacheK.
This commit is contained in:
parent
e9c1750204
commit
370cbe5e5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user