summary refs log tree commit diff stats
path: root/hw/vfio/iommufd.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2024-06-17 08:34:07 +0200
committerCédric Le Goater <clg@redhat.com>2024-06-24 23:15:31 +0200
commit2f7243cb8a3184cc26c70805e5aaec07fac943d1 (patch)
tree26660bbc553670355de78c7251672382c4e210da /hw/vfio/iommufd.c
parent41d698b8d63b719c5b32bd056109be272f6dd740 (diff)
downloadfocaccia-qemu-2f7243cb8a3184cc26c70805e5aaec07fac943d1.tar.gz
focaccia-qemu-2f7243cb8a3184cc26c70805e5aaec07fac943d1.zip
vfio/container: Remove vfio_container_init()
It's now empty.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/iommufd.c')
-rw-r--r--hw/vfio/iommufd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/vfio/iommufd.c b/hw/vfio/iommufd.c
index 7bc76f80b4..09b71a6617 100644
--- a/hw/vfio/iommufd.c
+++ b/hw/vfio/iommufd.c
@@ -357,7 +357,6 @@ static bool iommufd_cdev_attach(const char *name, VFIODevice *vbasedev,
     container->ioas_id = ioas_id;
 
     bcontainer = &container->bcontainer;
-    vfio_container_init(bcontainer, iommufd_vioc);
     vfio_address_space_insert(space, bcontainer);
 
     if (!iommufd_cdev_attach_container(vbasedev, container, errp)) {