Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3515086rwb; Tue, 20 Sep 2022 00:16:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45RFVP41aDceB6jbnAHERzv3VX8nCYJXGF8JLX39rV52xvoaOwROyixQDwx9L68CE/pTE5 X-Received: by 2002:a17:903:2346:b0:178:4c17:eef7 with SMTP id c6-20020a170903234600b001784c17eef7mr3538044plh.30.1663658178183; Tue, 20 Sep 2022 00:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663658178; cv=none; d=google.com; s=arc-20160816; b=bM96+dT7jjV8ZPWpZud83DplhZjs2BSjeiBthO9TNkMc2crDebEVlUfeCU1rHUNimG FbcivQTxnHf60wfDaib6GBFy3ghxadXHCqAKbJM7GVAteSfSsqDbhBMdj56nMi+T9YHC ie5YOaehlT6TD62h9+D8eIbJiRmUu8VjI0L9rD9KqKHvMTh2fkGuK4j7MWqr7gvRmEen EeVQQySeiJPZY1n44dYOPOnTCbv/38HtN/ISe2xKiElJ5Ym41cvgU2cqCQk8PxgszJKa L1ukkp5XzCuiF51FqbzNOe9ZHOQtTFtYU+Nl/bG0nGglC40YIb0LhZpNfJ6Rg4t2R2Zy homg== 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=wH/Znf3qVW5pKxyj1qpoaAmf9ZfQEeQzyhPb1wHAZAv9iKJuL0t1N41+iYy82I6770 Tv7WSGxNRsC70piyaQGBClgJ68CJVxb5Pua2hDLnCwtGX4dkZbEMnr/3pL23aRS66X9X 2tC837gQ/d28XEYx0dVuirZMfTpssLy07FF90jGnsEnp2CevfyGVCfYlCK+pcrHTTaay omDcPwV/+i2tZpaFgMQRRJKr24M3C6dU+SrHqFYTk3A6kFLfGAYSxvWI5OYNpRZjs3Un I4MLjSNDVSqvg4bz9XBeafpU+SB9VWNDNlwp9SGksvmJRyV260Sn9WylEXORTP3i68Bp kJRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lrE+tkky; 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 a33-20020a631a21000000b0043a006b10cfsi938494pga.292.2022.09.20.00.16.06; Tue, 20 Sep 2022 00:16:18 -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=lrE+tkky; 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 S231187AbiITGkK (ORCPT + 99 others); Tue, 20 Sep 2022 02:40:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbiITGjY (ORCPT ); Tue, 20 Sep 2022 02:39:24 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49E0B50184 for ; Mon, 19 Sep 2022 23:38:44 -0700 (PDT) X-UUID: 23f61e099103456bad01e7573f205566-20220920 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=lrE+tkkyyPDylJ8tjXolpiEg5u8rHOx01BsSls1OmLrKM/7bKIowmmvtISAiX3YYzVTthsPJS2E/JXxGEGD3rxS8AZyylE+fmvXhuj1aWX70KVVMSk9WO6FQIuhZ7Qu/aoTk7snEdjJZqWy1cRPBY0bO5M8tI6BI0uSYItaw3Uc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:975bdb01-a340-4411-ab96-29c1d0c47524,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:975bdb01-a340-4411-ab96-29c1d0c47524,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:114e6170-dafa-4a42-b716-cf2cd4845592,B ulkID:220919172600JUWE5EHQ,BulkQuantity:66,Recheck:0,SF:28|17|19|48|823|82 4,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:41,QS:nil,BEC:nil,COL :0 X-UUID: 23f61e099103456bad01e7573f205566-20220920 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1909227626; Tue, 20 Sep 2022 14:38:38 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Tue, 20 Sep 2022 14:38:37 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 20 Sep 2022 14:38:36 +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 v6 6/6] iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data Date: Tue, 20 Sep 2022 14:37:33 +0800 Message-ID: <20220920063733.21770-7-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220920063733.21770-1-yong.wu@mediatek.com> References: <20220920063733.21770-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.0 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,URIBL_CSS 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