diff options
author | David Hildenbrand <david@redhat.com> | 2018-06-19 15:41:36 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-28 19:05:33 +0200 |
commit | 7943e97b858e64eddf0f3395427e58c5cc00a7d9 (patch) | |
tree | a8c0bb09d92d171049379dc115fe811de6b30405 /numa.c | |
parent | 4ab56d04ede6e0f979fc8e4a54b381e99cf0a255 (diff) |
hostmem: drop error variable from host_memory_backend_get_memory()
Unused, so let's remove it.
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: <20180619134141.29478-8-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'numa.c')
-rw-r--r-- | numa.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -523,8 +523,7 @@ void memory_region_allocate_system_memory(MemoryRegion *mr, Object *owner, if (!backend) { continue; } - MemoryRegion *seg = host_memory_backend_get_memory(backend, - &error_fatal); + MemoryRegion *seg = host_memory_backend_get_memory(backend); if (memory_region_is_mapped(seg)) { char *path = object_get_canonical_path_component(OBJECT(backend)); |