vfio: remove the unused mdev iommu hook
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Sep 2021 15:57:00 +0000 (17:57 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 30 Sep 2021 18:46:44 +0000 (12:46 -0600)
commitfda49d97f2c4faf0b42e8796d3e6c868d992f3af
treedbc50478380f8f230ff3ccd15877cdf18218745a
parent8cc02d22d7e1596ed687c4ff967c32056c2bef3e
vfio: remove the unused mdev iommu hook

The iommu_device field in struct mdev_device has never been used
since it was added more than 2 years ago.

This is a manual revert of commit 7bd50f0cd2
("vfio/type1: Add domain at(de)taching group helpers").

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-11-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c
include/linux/mdev.h