diff options
author | Eric Auger <eric.auger@redhat.com> | 2024-07-01 10:48:55 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-07-09 11:50:37 +0200 |
commit | d59ca1ca17480fc776aa02bf536ca3c87dc79323 (patch) | |
tree | e757b158c89061e6eebfd877176fddb8e07e11a1 /hw/virtio | |
parent | 3966bca539967a05b3256549eb00f9488c2790e6 (diff) | |
download | qemu-d59ca1ca17480fc776aa02bf536ca3c87dc79323.zip qemu-d59ca1ca17480fc776aa02bf536ca3c87dc79323.tar.gz qemu-d59ca1ca17480fc776aa02bf536ca3c87dc79323.tar.bz2 |
HostIOMMUDevice : remove Error handle from get_iova_ranges callback
The error handle argument is not used anywhere. let's remove it.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/virtio-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-iommu.c b/hw/virtio/virtio-iommu.c index 8fe69ab..f278417 100644 --- a/hw/virtio/virtio-iommu.c +++ b/hw/virtio/virtio-iommu.c @@ -635,7 +635,7 @@ static bool virtio_iommu_set_iommu_device(PCIBus *bus, void *opaque, int devfn, if (hiodc->get_iova_ranges) { int ret; - host_iova_ranges = hiodc->get_iova_ranges(hiod, errp); + host_iova_ranges = hiodc->get_iova_ranges(hiod); if (!host_iova_ranges) { return true; /* some old kernels may not support that capability */ } |