mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 22:54:48 +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 a new issue