Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5348466rwi; Mon, 17 Oct 2022 20:07:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gt6124TEugcbisNaJlMpsFpxxbhCyHv9OgZ2A9kpK5E3AmhR7BKIri/48gR+KkJMyJGCX X-Received: by 2002:a17:90b:4c12:b0:20d:7124:7c10 with SMTP id na18-20020a17090b4c1200b0020d71247c10mr35711415pjb.204.1666062446298; Mon, 17 Oct 2022 20:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666062446; cv=none; d=google.com; s=arc-20160816; b=0OVjhRdXLYabk9NK9eKA9fnkig7yGqq40jC+dhIxhQKCCtzTYgJOb1xrX1+Y5h04CE MiGg2LzTTb5Ov6wZCPfu7HmAZbjPAOj5od5kVXcghLxbdnLPct5zoM2rqCL8w9K9xjwY PbiLgj84inZ2ojMBORnd34C70btQAUTgfmli+LgnMTBj15Ptj8NzbAlZMooPX8RLz8js lgus/U2ocEponfhWhG0ebsh2m6fS+fqqHr93nWV3b5as0I7r6C0mcX94GpjX07TAFdGw r5hG2MYuogx6jAtYFva3TyASot/ctpmmZ+V0HeFJwXBwaQZNQ/cIcPmg88lOTGf+1jPC flsQ== 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=IYogOVe8FwG0NyOno3zg0SlWhd1wK8A+0xGmvuPEsF4=; b=mveHi5ZC391FeJ2kVydOP8anB1O2c1/K9BeTy+G0PsCuM8hj3wZbDxK0eXxSWowlKN 1OLBhzYzY2SoNBT4/mL4wykrvYgDxN3uEXUpyeV/RjKlkhJvWpN+Kpx+RszADxcQs0Qc qBMEC0eyphivmh9XX77hz37T07n9K3eOShaKWTr8qI9wnlXhu6ltpqxJ9z72NvBctxPq NYfL4tVpT6bb5VIWqWALrEcOGmlYHlrhEovWw5xjnM/FAz49LJ2lJZ9Six8k4ZlXdN0m OfetPOMt/rNIwZetLseMHB34fFRQVokE1QjdGxY60uuUY3ufv1LBO/ZgIzyytmBIgSht xFdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GmF7GrtF; 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 a2-20020a17090a8c0200b00202be8d6729si11927295pjo.157.2022.10.17.20.07.14; Mon, 17 Oct 2022 20:07:26 -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=GmF7GrtF; 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 S231213AbiJRCoS (ORCPT + 99 others); Mon, 17 Oct 2022 22:44:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbiJRCoA (ORCPT ); Mon, 17 Oct 2022 22:44:00 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D99C69623F for ; Mon, 17 Oct 2022 19:43:58 -0700 (PDT) X-UUID: d106723f32b2448fa0ac5a69ee9decd6-20221018 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=IYogOVe8FwG0NyOno3zg0SlWhd1wK8A+0xGmvuPEsF4=; b=GmF7GrtFmtWE0wcTRmxHIJCyLKykSurGx9Lp66pU993yPJ+CdfiSeJU1b6MrWjF0G3brCXUAgoTqSFqj41XKsVT8FQe0I7sO34Hclp+eTjyr9QK89jila6HvU5Nor/+BUHj8AamPjXWvA8U/56JmokAQNb/HAH8IHzYpKuVnZh0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:ca2341be-26ed-4e0a-af70-bf57ecc58605,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.11,REQID:ca2341be-26ed-4e0a-af70-bf57ecc58605,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:39a5ff1,CLOUDID:bdd317a3-73e4-48dd-a911-57b5d5484f14,B ulkID:221018104356QHKWENC5,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: d106723f32b2448fa0ac5a69ee9decd6-20221018 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1731871103; Tue, 18 Oct 2022 10:43:54 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 18 Oct 2022 10:43:53 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 18 Oct 2022 10:43:52 +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 v7 6/6] iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data Date: Tue, 18 Oct 2022 10:42:58 +0800 Message-ID: <20221018024258.19073-7-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221018024258.19073-1-yong.wu@mediatek.com> References: <20221018024258.19073-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 f7ac102e343f..cb8df26ec71e 100644 --- a/drivers/iommu/mtk_iommu.c +++ b/drivers/iommu/mtk_iommu.c @@ -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 */ /* -- 2.18.0