Skip to content

Commit 7d8c490

Browse files
ptesarikjoergroedel
authored andcommitted
iommu/vt-d: Remove an unnecessary call set_dma_ops()
Do not touch per-device DMA ops when the driver has been converted to use the dma-iommu API. Fixes: c588072 ("iommu/vt-d: Convert intel iommu driver to the iommu ops") Signed-off-by: Petr Tesarik <ptesarik@suse.com> Link: https://lore.kernel.org/r/20250403165605.278541-1-ptesarik@suse.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 548183e commit 7d8c490

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/iommu/intel/iommu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3835,7 +3835,6 @@ static void intel_iommu_release_device(struct device *dev)
38353835
intel_pasid_free_table(dev);
38363836
intel_iommu_debugfs_remove_dev(info);
38373837
kfree(info);
3838-
set_dma_ops(dev, NULL);
38393838
}
38403839

38413840
static void intel_iommu_get_resv_regions(struct device *device,

0 commit comments

Comments
 (0)