diff options
author | David Hildenbrand <david@redhat.com> | 2018-10-05 11:20:19 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-24 06:44:59 -0300 |
commit | af390027475a0ada7a9da71108d5aee6fcc18151 (patch) | |
tree | cfa20288525dbbd2398dcec7ef98efda40d0fa40 /slirp/ip_output.c | |
parent | 3a0a2b0a2ba87ed00b732f061e59f890aaa27c17 (diff) |
memory-device: drop get_region_size()
There are no remaining users of get_region_size() except
memory_device_get_region_size() itself. We can make
memory_device_get_region_size() work directly on get_memory_region()
instead and drop get_region_size().
In addition, we can now use memory_device_get_region_size() in pc-dimm
code to implement get_plugged_size()"
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-12-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'slirp/ip_output.c')
0 files changed, 0 insertions, 0 deletions