Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2285282rwb; Mon, 19 Sep 2022 02:46:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4P10rTDjFoZaBD4AjJzZ6B5ibyXiWzYPVtB7cu7GcMFPSKra8YEOeO0JRsosuJvSEEQOW9 X-Received: by 2002:a17:90b:1c07:b0:202:8ad0:3210 with SMTP id oc7-20020a17090b1c0700b002028ad03210mr30627295pjb.193.1663580771179; Mon, 19 Sep 2022 02:46:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663580771; cv=none; d=google.com; s=arc-20160816; b=yB99IS/QDJx+fdaU4yG40zyzgpFiUC2ULQiv5C1zAzCJ4ytlDN5Gjq2k3Hx7ogy4Bt qY8eeskDckDzP5mVhdIRq02p07ozHuYbahyOybR9tAIVgSrW++RXoT5fZJnAVTcCpEBI 4rlWyDpDiZ9xKaOetmS6u3ySqdEtZhxO9//oJuf0Agr8HqeupcuwAchj2Z3CBowt4do6 NpQdbQWdxu25ILG/GIOR12mJMUUSz0abWD7RhIhQtlwNNTJf+pw7S+2IZropvZYpE+nR dK4ErCxcQZbhypKf4AJCHPc3XsjCI4PZY97nVOwk7CLcKTG6C8g+NfDrVeQv0Mh661K9 4X7g== 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=tYeUrDWmysoKnpRMd2tQy/Csgjdj3CcyZZOmwVF2Qmg=; b=dqRoirIGcb8W5w9PIqt8ryrvYhkxWK/FUlHSwYIn+AitoOzfcqa7swOrIrCT2rU6KE yKKq6vEdcAoNNPFHnfLT8qAG5zFKvC+Fn36Uc8FKqtEr8+EieXGlV/uANjNBVD4Qtdfi Rcx7r/8XcDUUjtRfa+Pf44npg2GLDN8Z+xbzXwXUnKHc4GHcyBPJ0tjMLVOxePqljZ9n ndJXYDOgeWpqC2Xw5yagx9TsmMLdihOZbaT1IoSjrJ82Q7HM84nF94KnGHI/4nMM71nz wLPYRu1FY3I5gsOKwZdkNLZMQjzUtxngL99i9CM98ri+zV6/4JJ0NqQyVgHMMS79S3eD IeCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bVBRQVzl; 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 l62-20020a638841000000b0042ae1ee766dsi6524827pgd.453.2022.09.19.02.45.58; Mon, 19 Sep 2022 02:46:11 -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=bVBRQVzl; 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 S230332AbiISJZv (ORCPT + 99 others); Mon, 19 Sep 2022 05:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbiISJZJ (ORCPT ); Mon, 19 Sep 2022 05:25:09 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABDD013FA6 for ; Mon, 19 Sep 2022 02:25:00 -0700 (PDT) X-UUID: cdf5796b87a445cd86a32f8f311e7e8b-20220919 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=tYeUrDWmysoKnpRMd2tQy/Csgjdj3CcyZZOmwVF2Qmg=; b=bVBRQVzlsdAr2dWp6i5DxhuQFl/Ux/gkSgTV8whCbw3c8QQy+KeCLtey/MEEj53te7MOoH6T8uk2mvyIUYkWUrm3sIQF5d16NUBB8tM5n04R75hNSxXMT8rqrB831Ypx6Tq0O6SQ2IpQHS6AU7q3k3Ptpoh6JqR1DrDppT/241M=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:c69e3470-6232-4723-9b12-407b821e4953,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:39a5ff1,CLOUDID:e2d0e2f6-6e85-48d9-afd8-0504bbfe04cb,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: cdf5796b87a445cd86a32f8f311e7e8b-20220919 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 986780568; Mon, 19 Sep 2022 17:24:57 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Mon, 19 Sep 2022 17:24:56 +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; Mon, 19 Sep 2022 17:24:55 +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 v5 6/6] iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data Date: Mon, 19 Sep 2022 17:24:05 +0800 Message-ID: <20220919092405.8256-7-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220919092405.8256-1-yong.wu@mediatek.com> References: <20220919092405.8256-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,UNPARSEABLE_RELAY 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 f92b8c0bb373..eb3ace99beff 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