Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp632000iob; Wed, 4 May 2022 04:59:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoAopqP9MM3jqVqJYBhKiiI45HKJqO9frs/cGEZ8yG6ObL0DNm+zFrBg8fJMqYMD4J+Oly X-Received: by 2002:a17:907:97c9:b0:6db:ab53:1fdf with SMTP id js9-20020a17090797c900b006dbab531fdfmr20483468ejc.406.1651665540542; Wed, 04 May 2022 04:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651665540; cv=none; d=google.com; s=arc-20160816; b=kq1nHDyHl0V+IUc4Q8uwRjJ+9WJw+cFSBhrn1EukGtD9QxSrkpLw9VyV7+o4OYrNua wDB4XllhxJC4q/hRenUMHWkSKtkw6bVNTpjIiovbcKjYdpp7GC1z6s2bAj4DKIVyLH8a ZSWCOtBIqLut3mNFBen3BrdXxst5f5GX+41Ldmn9ZSgRJ7Nw9LzxsHQK+x54T7Gd6iLE keZ97qFK65hCsYM6g+bWlzPdLZyB91lpqmGB6s1LuQXaonPXm2Xurs0QqKkWF/anM5DL +LWcknebrxd54oHhJ6uCyST1PxWZnHK8Sp1McAu700PX0XxYlYLUibxl3L/Wq8/ThkgX lxow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=DWfIhQOlThJ6h1HtDk1Jv4zywOs8e0bFpuSN9WfYfs4=; b=G80ACgXm3Foa20N1Vxwc26S6krI57r5C4Fgil4ern6Zm3UJN4fx546suQFUPMpuQWu otu6ipeK2EZmAmJFN9JlxtrCkg+Nc2X1/GzhW6wIxgSXIQHZGg+12LVxyFsOHvFVlnQT ptCpjnpBMugFn1p2R7gBd3qWlVLkjOAdSTuigFsjD5wGVc+mtLNNr7OyjpXWQdqlHp1Z x641GmIcl8kBMjWpp/27uPCY1J0vmgkCsIav8LZ2j/XuUZJM5lMr20rwDP6DAq8Iw31+ 5HEZKHFT7sT3gNCuzDIKcWgK1D2rmYNoPKU/3lla1/W2fxrFQIs6ZvPDbZF6gH/jooyA ag9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=mail header.b=ST3CBNxF; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk10-20020a170906cb0a00b006f3a78c75b5si16694913ejb.412.2022.05.04.04.58.36; Wed, 04 May 2022 04:59:00 -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=@baikalelectronics.ru header.s=mail header.b=ST3CBNxF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243004AbiECV1j (ORCPT + 99 others); Tue, 3 May 2022 17:27:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242909AbiECV1X (ORCPT ); Tue, 3 May 2022 17:27:23 -0400 Received: from mail.baikalelectronics.ru (mail.baikalelectronics.com [87.245.175.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 364E34163F; Tue, 3 May 2022 14:23:37 -0700 (PDT) Received: from mail.baikalelectronics.ru (unknown [192.168.51.25]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 46BD416D6; Wed, 4 May 2022 00:24:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.baikalelectronics.ru 46BD416D6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baikalelectronics.ru; s=mail; t=1651613051; bh=DWfIhQOlThJ6h1HtDk1Jv4zywOs8e0bFpuSN9WfYfs4=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=ST3CBNxFw9aKNHigL70CVKAAZkG4CdoQaJMJc6T0DJSLXLNOrBVwOP8dHwr+cLyAC heGM1J622OyyK8/NYUFKfCiS8pel1ff1ayjRB3ng8+PhE9cQOA79OsuW/jheA/GeBv bEiaIv+ASl2q4UhGMoZDvu1aaoTaDC5JdfqdbGLs= Received: from localhost (192.168.53.207) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 4 May 2022 00:23:37 +0300 From: Serge Semin To: Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Frank Li , Manivannan Sadhasivam , , Subject: [PATCH v2 12/13] PCI: dwc-plat: Discard unused regmap pointer Date: Wed, 4 May 2022 00:22:59 +0300 Message-ID: <20220503212300.30105-13-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20220503212300.30105-1-Sergey.Semin@baikalelectronics.ru> References: <20220503212300.30105-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 The regmap pointer was added into the dw_plat_pcie structure in commit 1d906b22076e ("PCI: dwc: Add support for EP mode"), but it hasn't been utilized neither in the code submitted in the denoted so far nor in the platform driver evolving afterwards. Drop it then for good. Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-designware-plat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-designware-plat.c b/drivers/pci/controller/dwc/pcie-designware-plat.c index fea785096261..99cf2ac5b0ba 100644 --- a/drivers/pci/controller/dwc/pcie-designware-plat.c +++ b/drivers/pci/controller/dwc/pcie-designware-plat.c @@ -17,13 +17,11 @@ #include #include #include -#include #include "pcie-designware.h" struct dw_plat_pcie { struct dw_pcie *pci; - struct regmap *regmap; enum dw_pcie_device_mode mode; }; -- 2.35.1