diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-08 10:06:15 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 10:13:45 +0200 |
commit | ae3ff39a51a0f5843960487962e110339f321b0f (patch) | |
tree | f175ccd49901c6f79892f96714acff5c003761ed /drivers/iommu/intel | |
parent | a871765d5588531e1972902d1ae077b8be306c94 (diff) | |
download | linux-ae3ff39a51a0f5843960487962e110339f321b0f.tar.gz |
iommu: remove the put_resv_regions method
All drivers that implement get_resv_regions just use
generic_put_resv_regions to implement the put side. Remove the
indirections and document the allocations constraints.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20220708080616.238833-4-hch@lst.de
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel')
-rw-r--r-- | drivers/iommu/intel/iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index 44016594831d..49d616aa2148 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -4911,7 +4911,6 @@ const struct iommu_ops intel_iommu_ops = { .probe_finalize = intel_iommu_probe_finalize, .release_device = intel_iommu_release_device, .get_resv_regions = intel_iommu_get_resv_regions, - .put_resv_regions = generic_iommu_put_resv_regions, .device_group = intel_iommu_device_group, .dev_enable_feat = intel_iommu_dev_enable_feat, .dev_disable_feat = intel_iommu_dev_disable_feat, |