diff options
Diffstat (limited to 'drivers/vfio/container.c')
-rw-r--r-- | drivers/vfio/container.c | 5 |
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; |