Skip to contentSkip to conversation

iommu:Make the function dma_free_pagelist static

PATCH Superseded Nicholas Krause 1 participant 1 message Jun 19, 2015 IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu:Make the function dma_free_pagelist static

This makes the function dma_free_pagelist static now due to having no callers outside of its definiton and declaration in the file intel-iommu.c.

---
 drivers/iommu/intel-iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/intel-iommu.c +1 -1
index 5ecfaf2..a225b3d 100644
@@ -1114,7 +1114,7 @@ struct page *domain_unmap(struct dmar_domain *domain,
 	return freelist;
 }
 
-void dma_free_pagelist(struct page *freelist)
+static void dma_free_pagelist(struct page *freelist)
 {
 	struct page *pg;
 
Signature · 1 line
2.1.4