Skip to content

Commit 782861d

Browse files
LuBaolujoergroedel
authored andcommitted
iommu/vt-d: Remove unnecessary prototypes
Some prototypes in iommu.c are unnecessary. Delete them. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20220214025704.3184654-1-baolu.lu@linux.intel.com Link: https://lore.kernel.org/r/20220301020159.633356-8-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 763e656 commit 782861d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/iommu/intel/iommu.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,14 +296,9 @@ static LIST_HEAD(dmar_satc_units);
296296
/* bitmap for indexing intel_iommus */
297297
static int g_num_of_iommus;
298298

299-
static void domain_exit(struct dmar_domain *domain);
300299
static void domain_remove_dev_info(struct dmar_domain *domain);
301300
static void dmar_remove_one_dev_info(struct device *dev);
302301
static void __dmar_remove_one_dev_info(struct device_domain_info *info);
303-
static int intel_iommu_attach_device(struct iommu_domain *domain,
304-
struct device *dev);
305-
static phys_addr_t intel_iommu_iova_to_phys(struct iommu_domain *domain,
306-
dma_addr_t iova);
307302

308303
int dmar_disabled = !IS_ENABLED(CONFIG_INTEL_IOMMU_DEFAULT_ON);
309304
int intel_iommu_sm = IS_ENABLED(CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON);

0 commit comments

Comments
 (0)