swiotlb: Remove redundant swiotlb_force
PATCH 1/1 swiotlb: Remove redundant swiotlb_force
The variable (and enum) was removed in commit c6af2aa9ffc9 ("swiotlb:
make the swiotlb_init interface more useful") but the declaration was left in swiotlb.h. Tidy up by removing the declaration as well.
--- include/linux/swiotlb.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/swiotlb.h +0 -2
@@ -60,8 +60,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys, size_t size, enum dma_data_direction dir, unsigned long attrs);#ifdef CONFIG_SWIOTLB -extern enum swiotlb_force swiotlb_force; -/** * struct io_tlb_mem - IO TLB Memory Pool Descriptor *
Signature · 6 lines
2.25.1 _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
Quoted 5 lines · Steven Price
The variable (and enum) was removed in commit
c6af2aa9ffc9("swiotlb:
make theswiotlb_initinterface more useful") but the declaration was left inswiotlb.h. Tidy up by removing the declaration as well.Signed-off-by Steven Price <[email protected]>
I just applied an identical patch from Dongli Zhang a few hours ago.
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · Steven Price
The variable (and enum) was removed in commit
c6af2aa9ffc9("swiotlb:
make theswiotlb_initinterface more useful") but the declaration was left inswiotlb.h. Tidy up by removing the declaration as well.Signed-off-by Steven Price <[email protected]>I just applied an identical patch from Dongli Zhang a few hours ago.
Ah, I missed that. Sorry for the noise!
Steve
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu