summaryrefslogtreecommitdiff
path: root/drivers/vfio/container.c
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2023-01-31 08:58:09 -0800
committerAlex Williamson <alex.williamson@redhat.com>2023-02-09 11:39:14 -0700
commite592296cd6e15ddeebe4c8411365c550da65c8bf (patch)
treee9d3ef2f8519b18880db6c5f709f613fbd84ed16 /drivers/vfio/container.c
parenta5ac1f816563503eb25739ba8cc3d74548169f09 (diff)
vfio: revert "iommu driver notify callback"
Revert this dead code: commit ec5e32940cc9 ("vfio: iommu driver notify callback") Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/1675184289-267876-8-git-send-email-steven.sistare@oracle.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/container.c')
-rw-r--r--drivers/vfio/container.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/vfio/container.c b/drivers/vfio/container.c
index 5f398c493a1b..95fd51817f2b 100644
--- a/drivers/vfio/container.c
+++ b/drivers/vfio/container.c
@@ -383,11 +383,6 @@ static int vfio_fops_open(struct inode *inode, struct file *filep)
static int vfio_fops_release(struct inode *inode, struct file *filep)
{
struct vfio_container *container = filep->private_data;
- struct vfio_iommu_driver *driver = container->iommu_driver;
-
- if (driver && driver->ops->notify)
- driver->ops->notify(container->iommu_data,
- VFIO_IOMMU_CONTAINER_CLOSE);
filep->private_data = NULL;