summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/io-pgtable-arm.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-07-02 16:44:50 +0100
committerWill Deacon <will@kernel.org>2019-07-29 17:22:58 +0100
commite953f7f2fa78d1c7fd064171f88457c6b1e21af9 (patch)
treeb35d7667967cc2988207ace4d920ff5bc55c97b6 /drivers/iommu/io-pgtable-arm.c
parentabfd6fe0cd535d31ee83b668be6eb59ce6a8469d (diff)
downloadlinux-stable-e953f7f2fa78d1c7fd064171f88457c6b1e21af9.tar.gz
linux-stable-e953f7f2fa78d1c7fd064171f88457c6b1e21af9.tar.bz2
linux-stable-e953f7f2fa78d1c7fd064171f88457c6b1e21af9.zip
iommu/io-pgtable: Remove unused ->tlb_sync() callback
The ->tlb_sync() callback is no longer used, so it can be removed. Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm.c')
-rw-r--r--drivers/iommu/io-pgtable-arm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/iommu/io-pgtable-arm.c b/drivers/iommu/io-pgtable-arm.c
index a5c0db01533e..f35516744965 100644
--- a/drivers/iommu/io-pgtable-arm.c
+++ b/drivers/iommu/io-pgtable-arm.c
@@ -1080,17 +1080,11 @@ static void dummy_tlb_add_page(unsigned long iova, size_t granule, void *cookie)
dummy_tlb_flush(iova, granule, granule, cookie);
}
-static void dummy_tlb_sync(void *cookie)
-{
- WARN_ON(cookie != cfg_cookie);
-}
-
static const struct iommu_flush_ops dummy_tlb_ops __initconst = {
.tlb_flush_all = dummy_tlb_flush_all,
.tlb_flush_walk = dummy_tlb_flush,
.tlb_flush_leaf = dummy_tlb_flush,
.tlb_add_page = dummy_tlb_add_page,
- .tlb_sync = dummy_tlb_sync,
};
static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops)