aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Wu <[email protected]>2022-10-18 10:42:58 +0800
committerJoerg Roedel <[email protected]>2022-12-05 11:46:03 +0100
commit9ff894edd542618dad2fef538f8272c620a501db (patch)
tree70d16e595dcf3ab487c4fed2d2c1c8f2122d87c2
parent6cde583d5352818a51985b32a960cdde85ab3821 (diff)
iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
Just remove a unused variable that only is for mtk_iommu_v1. Signed-off-by: Yong Wu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
-rw-r--r--drivers/iommu/mtk_iommu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 4a6ee25a6f99..9c1ce8b46a17 100644
--- a/drivers/iommu/mtk_iommu.c
+++ b/drivers/iommu/mtk_iommu.c
@@ -229,10 +229,7 @@ struct mtk_iommu_data {
struct device *smicomm_dev;
struct mtk_iommu_bank_data *bank;
-
- struct dma_iommu_mapping *mapping; /* For mtk_iommu_v1.c */
struct regmap *pericfg;
-
struct mutex mutex; /* Protect m4u_group/m4u_dom above */
/*