From patchwork Fri Oct 28 15:57:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13023892 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4DEDC38A02 for ; Fri, 28 Oct 2022 15:59:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbiJ1P73 (ORCPT ); Fri, 28 Oct 2022 11:59:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbiJ1P62 (ORCPT ); Fri, 28 Oct 2022 11:58:28 -0400 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2050.outbound.protection.outlook.com [40.107.249.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC538219FE2; Fri, 28 Oct 2022 08:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6ciNuXG6LXOGihgkWZVI0R2TYJXdyv2c9BN2ElJB+nTxMuFN1LBeyij3aaEirzaA6eOhwQrozE8LXLON7VDdb8fS/BCnn36svUmG+vaXq+854MAutsyLpTajoRXbHHcpxGkShzHDuTdRwYri4vH7/HFaUV5f2Yz2g+0MI195qKmcaA4K0JoKdVKhz6Z5ubFUk8+Toy2QlLUHM35l/VPmNbxpVeTqYnUpo7VCLt1/mI51fu5LAFcLbuH3iJBB8QNrf9bQpLs9RkbI8yiL3kfvEjwl1PKdBzdgPVQpmiI2ayeH8KnjLVy+u84AZOSLrb888qcZMpCByOfrFzlBavqPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QfqKjmRXfkbqfS71fsocR7ajWkM3hp3bLrQF/zSSm4k=; b=BSJ3CLx4cZ0LF5vz3JFCxWDE0HSezm6vHZuvNhFELKzNEPmsH+NFEazK3ieCsFDCe3kwcENgcpCcn9OeHuF14lC63lSC0PI0xf6oI+Io/mdBRHCz/VYGKjYFJYesV0WDyfpDPTTZDutKw1F9FWhcHM+huDeTjTveZCO8jV+l/z0L/kFTKkcOABrhwwKSDHrYwhTPH9mC07uLdCJDd0E98OmvVLhPmKGYVMZ79KfF6RLT0AOwGsnMPdOMf3s1mZ2RHBEqqgQ8zaTN1Z4H/QVtgjdE+Og5TijijEJC7eoOH8qIxOOnGL3n8EKD8NLgZZWnnmLu+KFnS9rP1ahyV7RSxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QfqKjmRXfkbqfS71fsocR7ajWkM3hp3bLrQF/zSSm4k=; b=r/mweWOkyM7fHxRGxCmxGOuN+TRmgQ44ihhcRGDtDBZ2cp9fqLYcdXq37+YzsC/+nHo2whiZvGNGBze80aN2JAeFFVJVOTiZ6mmvuKQtHg+9v+TlqBCrY1hKAzOdQYm2pldeReBKb1GAHPLTBwzuhOX6cPjkfpEPrZk4GfPlozs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) by AM9PR04MB8323.eurprd04.prod.outlook.com (2603:10a6:20b:3e5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.15; Fri, 28 Oct 2022 15:57:42 +0000 Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::44bb:8387:8f4b:6a28]) by HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::44bb:8387:8f4b:6a28%10]) with mapi id 15.20.5746.028; Fri, 28 Oct 2022 15:57:42 +0000 From: Frank Li To: frank.li@nxp.com Cc: allenbh@gmail.com, bhelgaas@google.com, dave.jiang@intel.com, helgaas@kernel.org, imx@lists.linux.dev, jdmason@kudzu.us, kw@linux.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, mani@kernel.org, ntb@lists.linux.dev Subject: [PATCH v14 4/7] PCI: endpoint: pci-epf-vntb: remove unused field epf_db_phy Date: Fri, 28 Oct 2022 11:57:00 -0400 Message-Id: <20221028155703.318928-5-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221028155703.318928-1-Frank.Li@nxp.com> References: <20221028155703.318928-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR02CA0010.namprd02.prod.outlook.com (2603:10b6:a02:ee::23) To HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0401MB2331:EE_|AM9PR04MB8323:EE_ X-MS-Office365-Filtering-Correlation-Id: 36ab77ec-6b50-44a6-a5e2-08dab8fd2541 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zrpwZk9NWj52lwo773mFAseeiCvBHe10QmfP97v93HhVNI6yatIM7Gqlot7V1Z8FYTwkyLN342o3K1cboJ+MOrd4If23YXtpM4Sv7SZgaCbZ/lCSZg0XaoKmGDb2CMogJnTAP26jPcX+HPXr+5iv7PYAdmPqY0ww/0X+Kms7q6WRbX2QektidhrMawA2n/H+wQPIw9vcNDZQZuaW7PWu9uM06ePYyBt5HF6C2HuUlJuc5nuqVsNW2TswfsJUL00FH8hMkmxiheiCkWmM1b9V21phCTZA+Yoibam/h2l8EYwvLoH/q3QB+gStAPRrDZpftoq30BcydkpOqQ/cyHE0u0PugbrW199GdHQfZnAYMtFKS/dNspMdky9/kvEO1vhwKRA2+qqUmtIAbjCnzCkinHFb/3Vc/kFUjxKEj/V6anRsXyH2pYwBjVTS5Y2DI+BJd3JLbsxg93pVTyDjWrioCZ63ooee9vLCnR+LB3AB/im50k49QNkjJWQ9/9A1If3CCRREP1djtIuBJr2J2fDPPYWql9V3QUDzw6zgKCKOv6NdNvfY/UQJMETHiegLDcvWojCdoWfxX0bPMVb9+NnmQGetyWyrrhrlvTjaQCGrAhW7aoo2eDrwEWsUPyF59dfeDyB1LGVVYISyO0okgNZzPNUSMi/lLB/JugRQluAnjlsGwYOCw6qwjG2gpjGDJrDdOlDmOMI03pM/mOV524t/8TU84CTeCmDuWibz03jxMetylT0s18P4WHcgtd/d+Q9wZSIhY8TtQn456+bfrADE8A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0401MB2331.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(366004)(396003)(39860400002)(376002)(451199015)(6666004)(316002)(37006003)(34206002)(8936002)(5660300002)(4326008)(2616005)(186003)(1076003)(7416002)(8676002)(4744005)(52116002)(36756003)(6506007)(66476007)(66946007)(66556008)(6512007)(26005)(41300700001)(83380400001)(86362001)(38100700002)(2906002)(38350700002)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YAQr2m8pOnhZ4Me0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70b1pkoIvr7P9ooacvWu60P7AZiMQeIVXHm0yw0xqns5fgfXC0PpIFPTy2Diwn0dLj0wcUAaEQV7I+M3IUf0FNCj4V4VcBULejaw/+Tkcf4Ja6DXJNQbPQKUxNslkCJWHtyYdlBQWCrW4ZUEszs8udKfviHleJxzzieQnTqrFHUEfoTPpZUuWtjTBuBr+sKGIuoOZAGXvs1HWbIK/qnpyXBQWtqn1lwYzMhojc+0kbivfu+rRL8sGn6H4no0eUzo3+wenbayCsrNC8PCuCkt8h0VrFnA06qEPFq6hYc6kDkR2XfcNaPNTrgmBf0ppJBIxWZ3ZmvxQ4hLZhSXtnT0M/SgK+SEt2etPTh5RnrhBSCF2/DEgSHQDdZ79kPwmzLHYZ1bglhLMyyBMTyrzjg9Rdv5tq/F9Bgo1aq/kkB9dpZm6PT/yFKSCI6k8K7vx2qKN32CRcarPcvgpWshQzVFX4d65z/E1kg= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36ab77ec-6b50-44a6-a5e2-08dab8fd2541 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0401MB2331.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 15:57:42.1080 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QR8JeKU3nnEzcxPJoeeYQ7d6JRESWjqYpRcA8mluYkYMRA/419zP9fBt0w97WsRUcKiG6V0pBB1bTEag964kKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8323 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Frank Li None use epf_db_phy and remove it. Signed-off-by: Frank Li Acked-by: Manivannan Sadhasivam --- drivers/pci/endpoint/functions/pci-epf-vntb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c index 191924a83454..ee66101cb5c4 100644 --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c @@ -136,7 +136,6 @@ struct epf_ntb { struct epf_ntb_ctrl *reg; - phys_addr_t epf_db_phy; void __iomem *epf_db; phys_addr_t vpci_mw_phy[MAX_MW];