From patchwork Fri May 15 09:47:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186826 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp266789ilb; Fri, 15 May 2020 02:52:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfsXu3XXiwG8LblRTk8EFVZhICEQ5ZeTjzd8l3WpnqMLrpjeXPDIZu/4BdwOt6+aEl0PQk X-Received: by 2002:adf:82b3:: with SMTP id 48mr3284604wrc.223.1589536348166; Fri, 15 May 2020 02:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589536348; cv=none; d=google.com; s=arc-20160816; b=Q35nyH/zRcjsUWrGrgbVf8tsVgQtEqdk8M5cOQU6v9BNe6XV+G/a2AqlAwWiZPCiak /Uyfpj9w4BVyWK8YC0rCwPE6AxUPe1rZdpP9SAE5faQh0epTI/8mYr3FizbTxSinnsDt 1BnUAhVXfxR0Nd07J/u+OkHDpi+VVOuR6eiHLL4z/3eBxd0AN3v1MFCgUA5qIPO9awtf XZGd3CFBdRF+idh7gDw7x0X8IdMWGT0VcTR51CFFwqy/S5uJNzXgdB/mFidu74AAhi9t vSBU1JvaVrqWBHKtAh7CRJehNFjlrMIL4+EXfYdUoKPgkNWITgL+tn0vZaafJhKLNPSD IL9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=70WgIwyVTApOsbOM/BC8+veCJhpBNKk3+kbVdBykS04=; b=YeiEVZt5V5eAoktNIjt6imaq/uEIWMl+nUD1C2oJzzRFTpWz2tzqqlElQfhpsyjD8U 1g1+7D5oiJdc0M8Bff0XwtdOwDodx13GbDZOfUjvdwKwxg1dwmhH47t+DgFQ3sbE3r3x M9EOgmm2czrIVsJQJCnVBc8zVtgYMBTtyIWpO6ZgDAvioRaxHNSSasKaoFqm1VXscSDB ZivM73gtwMvhXc6qdVcKdwfnGhAX4MrIAisRZZepYqCWdWLDwdONzOUbPjjfrXN1BorS y+UGwheCNw0w1fNYJF7VSIedytpHEACl2rCjBbg5RZs2dkQWOmzuFx9YHSuuAXOeP/sP 2C7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 1si1732090wmi.12.2020.05.15.02.52.27; Fri, 15 May 2020 02:52:28 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4768E1DB23; Fri, 15 May 2020 11:50:54 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id D3AAD1DAD2 for ; Fri, 15 May 2020 11:50:30 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ADE1D2005FF; Fri, 15 May 2020 11:50:30 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A92E7200738; Fri, 15 May 2020 11:50:28 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id ECD6C402BE; Fri, 15 May 2020 17:50:25 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Fri, 15 May 2020 15:17:52 +0530 Message-Id: <20200515094752.28490-14-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200515094752.28490-1-hemant.agrawal@nxp.com> References: <20200514132533.13752-1-hemant.agrawal@nxp.com> <20200515094752.28490-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v8 13/13] bus/fslmc: remove unused symbols X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" rte_dpaa2_memsegs is not being used by any other library or even within bus. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 6 ------ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 - 3 files changed, 10 deletions(-) -- 2.17.1 Acked-by: Ray Kinsella diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c index 79b148f20b..d9619848d8 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c @@ -28,12 +28,6 @@ #include "portal/dpaa2_hw_pvt.h" #include "portal/dpaa2_hw_dpio.h" -/* List of all the memseg information locally maintained in dpaa2 driver. This - * is to optimize the PA_to_VA searches until a better mechanism (algo) is - * available. - */ -struct dpaa2_memseg_list rte_dpaa2_memsegs - = TAILQ_HEAD_INITIALIZER(rte_dpaa2_memsegs); TAILQ_HEAD(dpbp_dev_list, dpaa2_dpbp_dev); static struct dpbp_dev_list dpbp_dev_list diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 194b99c583..19fdd9cfaa 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -325,9 +325,6 @@ struct dpaa2_memseg { size_t len; }; -TAILQ_HEAD(dpaa2_memseg_list, dpaa2_memseg); -extern struct dpaa2_memseg_list rte_dpaa2_memsegs; - #ifdef RTE_LIBRTE_DPAA2_USE_PHYS_IOVA extern uint8_t dpaa2_virt_mode; static void *dpaa2_mem_ptov(phys_addr_t paddr) __rte_unused; diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 80da19a277..69e7dc6ad9 100644 --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map @@ -106,7 +106,6 @@ INTERNAL { rte_dpaa2_free_dpci_dev; rte_dpaa2_intr_disable; rte_dpaa2_intr_enable; - rte_dpaa2_memsegs; rte_fslmc_driver_register; rte_fslmc_driver_unregister; rte_fslmc_get_device_count;