diff options
author | Nadav Amit <namit@vmware.com> | 2018-09-20 10:30:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 20:11:42 +0200 |
commit | 0395be3ece114cda496dafd1fb337288c8305e7b (patch) | |
tree | a7042d863635af49f25d04adadd180311358692e /drivers/mtd | |
parent | 8b079cd00f70cf8ad2df00fb36674683d637fae0 (diff) | |
download | linux-next-0395be3ece114cda496dafd1fb337288c8305e7b.tar.gz |
vmw_balloon: simplify vmballoon_send_get_target()
As we want to leave as little as possible on the global balloon
structure, to avoid possible future races, we want to get rid sysinfo.
We can actually get the total_ram directly, and simplify the logic of
vmballoon_send_get_target() a little.
While we are doing that, let's return int and avoid mistakes due to
bool/int conversions.
Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions