]> git.proxmox.com Git - mirror_qemu.git/commit
vfio/pci: Remove vfio_populate_device returned value
authorEric Auger <eric.auger@redhat.com>
Mon, 17 Oct 2016 16:58:02 +0000 (10:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 17 Oct 2016 16:58:02 +0000 (10:58 -0600)
commite04cff9d975389b83d59b89cc3904b20ae0b4ce1
treeb1b3963ced1a54a97e048daa93213e70c522c591
parentec3bcf424edb76e00b6ff545360329c4cedf9953
vfio/pci: Remove vfio_populate_device returned value

The returned value (either -errno or -1) is not used anymore by the caller,
vfio_realize, since the error now is stored in the error object. So let's
remove it.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c