Skip to content

Commit

Permalink
iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
Browse files Browse the repository at this point in the history
[ Upstream commit 9ff894e ]

Just remove a unused variable that only is for mtk_iommu_v1.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20221018024258.19073-7-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Stable-dep-of: cf69ef4 ("iommu/mediatek: Fix two IOMMU share pagetable issue")
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
YongWu-HF authored and gregkh committed Sep 13, 2023
1 parent 343ccde commit f81325a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/iommu/mtk_iommu.c
Expand Up @@ -223,10 +223,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 */

/*
Expand Down

0 comments on commit f81325a

Please sign in to comment.