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 /hw/misc/ivshmem.c | |
| parent | 4ab56d04ede6e0f979fc8e4a54b381e99cf0a255 (diff) | |
| download | focaccia-qemu-7943e97b858e64eddf0f3395427e58c5cc00a7d9.tar.gz focaccia-qemu-7943e97b858e64eddf0f3395427e58c5cc00a7d9.zip | |
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 'hw/misc/ivshmem.c')
| -rw-r--r-- | hw/misc/ivshmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index 16f03701b7..ee01c5e66b 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -909,8 +909,7 @@ static void ivshmem_common_realize(PCIDevice *dev, Error **errp) if (s->hostmem != NULL) { IVSHMEM_DPRINTF("using hostmem\n"); - s->ivshmem_bar2 = host_memory_backend_get_memory(s->hostmem, - &error_abort); + s->ivshmem_bar2 = host_memory_backend_get_memory(s->hostmem); } else { Chardev *chr = qemu_chr_fe_get_driver(&s->server_chr); assert(chr); |