Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp282361rwe; Wed, 24 Aug 2022 00:23:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR42YlTKYDPCVZL0CrwmE1W7rwwAGauLC6x2wUCjbJQXUfYWLCUmB4gyJB/j8/4cpBXdlU4Z X-Received: by 2002:a05:6402:5108:b0:447:592:7ba5 with SMTP id m8-20020a056402510800b0044705927ba5mr6580098edd.156.1661325837295; Wed, 24 Aug 2022 00:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661325837; cv=none; d=google.com; s=arc-20160816; b=kwjM8BK2B+ku2FmPa7luSKTavx4N44tTJjYQaOjhrs/uP+MzT6RrM8VtO8RHRDei8y 65z+15H6gwMQrH0U3a+OXoqLc1I5ijFyfvWWcvp7Zjn0XZ3A2eOMDbB7v24qq3MnPcsY LqTuEABHXSdiRKXINIYi2Dec5smxA3JEm9w5tO8HuYGfxcJcleT2t5GLZRZdP415EvE3 8eEG1dc3pKWqRHQackkUHGrDMuwmVmqOWabdrusT+XaBWTkzXWaFGI4vwZvzab20iLRm TovIH23jt9aVPIPNCLkvMXK9CdEbIX+LBIFwtmhaml3k64zjPJbwfnBAKuuDJtMSPpSF qO5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LZvZ8iPWoZkm+xc954suJyRAUJdDP7KS8lq07kPBt44=; b=EPxsAOY7k8nFjUhAsI1jhTs2I7oQoDR/Xg0oeLoo5DsRyn+VBI4H8/Ihq2D+pozEW0 E5IdItV/pZAjBtYd6wG/54VFAIFYbQteBHUdZAoPCCwkOiC3gLEMGFuhkSgE1ArKx7/m rA+JmwHh0oCmBy2+goSzLMJHh06PXr3wG9UryKjEeJ5+dyUhotvO23vUiyS5XnPh70mV gxJZboTiLiax26bXAMO5Oh5WBx2XsyN8m6B5GANcgXvLScOs6Q8IkIJ2cBqwhpMHEQCg oKIkdhLYQDIhQRtjvKog64GPsC3hzlFbNvdnxfQlqp1r/B1YyY2JHLhp+sCz/bOv3MmV 4Q8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=esS0GsiK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a50cbc1000000b004468da2f691si2078063edi.43.2022.08.24.00.23.29; Wed, 24 Aug 2022 00:23:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=esS0GsiK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235329AbiHXGo7 (ORCPT + 99 others); Wed, 24 Aug 2022 02:44:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235141AbiHXGol (ORCPT ); Wed, 24 Aug 2022 02:44:41 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BDBC8709D for ; Tue, 23 Aug 2022 23:44:23 -0700 (PDT) X-UUID: 058f42029e6149e2b9448f1d97a76747-20220824 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=LZvZ8iPWoZkm+xc954suJyRAUJdDP7KS8lq07kPBt44=; b=esS0GsiKL0Dm5Vk+6l2+ijLv2qARiS2a+hAQcc5Kux64hFxCAz/crEpMzbujigtzi+BWf3CFuwZies7WfE0u/vrp+ixuyxaWoI8P2VOTpu4EKxWoUpcQQU/MKtTyoAmR0ckTCLiBS6wWVcaqT79eurHQ2VaPDn4c6j1SaPYUBAs=; X-CID-UNFAMILIAR: 1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:4d34e18b-8d81-44ec-9d89-d6a5f8ce6d8c,OB:0,L OB:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Releas e_Ham,ACTION:release,TS:100 X-CID-INFO: VERSION:1.1.10,REQID:4d34e18b-8d81-44ec-9d89-d6a5f8ce6d8c,OB:0,LOB :0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS9 81B3D,ACTION:quarantine,TS:100 X-CID-META: VersionHash:84eae18,CLOUDID:974fa1c9-6b09-4f60-bf82-12f039f5d530,C OID:fce975495dff,Recheck:0,SF:28|16|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 058f42029e6149e2b9448f1d97a76747-20220824 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2104203020; Wed, 24 Aug 2022 14:44:17 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 24 Aug 2022 14:44:15 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 24 Aug 2022 14:44:14 +0800 From: Yong Wu To: Joerg Roedel , Matthias Brugger , Will Deacon CC: Robin Murphy , , , , , , "Yong Wu" , AngeloGioacchino Del Regno , , , , , , , , Guenter Roeck , "Dan Carpenter" Subject: [PATCH v4 6/6] iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data Date: Wed, 24 Aug 2022 14:43:06 +0800 Message-ID: <20220824064306.21495-7-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220824064306.21495-1-yong.wu@mediatek.com> References: <20220824064306.21495-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just remove a unused variable that only is for mtk_iommu_v1. Signed-off-by: Yong Wu Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger --- drivers/iommu/mtk_iommu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index ea387c762509..b06c91f5a9b2 100644 --- a/drivers/iommu/mtk_iommu.c +++ b/drivers/iommu/mtk_iommu.c @@ -221,10 +221,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 */ /* -- 2.18.0