]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
authorYong Wu <yong.wu@mediatek.com>
Tue, 18 Oct 2022 02:42:58 +0000 (10:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:53 +0000 (09:42 +0200)
[ Upstream commit 9ff894edd542618dad2fef538f8272c620a501db ]

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: cf69ef46dbd9 ("iommu/mediatek: Fix two IOMMU share pagetable issue")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/mtk_iommu.c

index 2ae5a6058a34a79fd909431f97291b2e919c1e82..5ff8982712e0f92a6b69b0d098829b054eb02f62 100644 (file)
@@ -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 */
 
        /*