[PATCH 1/2] iommu/dart: Clean up IOVA cookie crumbs
Robin Murphy
robin.murphy at arm.com
Mon Sep 13 05:40:05 PDT 2021
The addition of the DART driver crossed over with moving IOVA cookie
management into core code; clean up the now-unnecessary remnants here.
Acked-by: Sven Peter <sven at svenpeter.dev>
Tested-by: Sven Peter <sven at svenpeter.dev>
Signed-off-by: Robin Murphy <robin.murphy at arm.com>
---
drivers/iommu/apple-dart.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c
index 559db9259e65..cdc2e83b2186 100644
--- a/drivers/iommu/apple-dart.c
+++ b/drivers/iommu/apple-dart.c
@@ -15,7 +15,6 @@
#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/dev_printk.h>
-#include <linux/dma-iommu.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/interrupt.h>
@@ -596,7 +595,6 @@ static struct iommu_domain *apple_dart_domain_alloc(unsigned int type)
if (!dart_domain)
return NULL;
- iommu_get_dma_cookie(&dart_domain->domain);
mutex_init(&dart_domain->init_lock);
/* no need to allocate pgtbl_ops or do any other finalization steps */
--
2.25.1
More information about the linux-arm-kernel
mailing list