aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2024-07-01 10:48:55 +0200
committerCédric Le Goater <clg@redhat.com>2024-07-09 11:50:37 +0200
commitd59ca1ca17480fc776aa02bf536ca3c87dc79323 (patch)
treee757b158c89061e6eebfd877176fddb8e07e11a1 /include
parent3966bca539967a05b3256549eb00f9488c2790e6 (diff)
downloadqemu-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 'include')
-rw-r--r--include/sysemu/host_iommu_device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sysemu/host_iommu_device.h b/include/sysemu/host_iommu_device.h
index ee6c813..05c7324 100644
--- a/include/sysemu/host_iommu_device.h
+++ b/include/sysemu/host_iommu_device.h
@@ -87,9 +87,8 @@ struct HostIOMMUDeviceClass {
* @hiod Host IOMMU device
*
* @hiod: handle to the host IOMMU device
- * @errp: error handle
*/
- GList* (*get_iova_ranges)(HostIOMMUDevice *hiod, Error **errp);
+ GList* (*get_iova_ranges)(HostIOMMUDevice *hiod);
};
/*