1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-10 19:29:14 +08:00

remove duped line.

This commit is contained in:
WAKAYAMA shirou 2014-05-16 15:12:00 +09:00
parent d5a476f628
commit 5846e481c5

View File

@ -20,8 +20,6 @@ func VirtualMemory() (*VirtualMemoryStat, error) {
Buffers: uint64(sysinfo.Bufferram),
}
ret.Used = ret.Total - ret.Free
// TODO: platform independent
ret.Available = ret.Free + ret.Buffers + ret.Cached