From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2D9B45F13; Sun, 22 Dec 2024 13:58:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1315B40A72; Sun, 22 Dec 2024 13:58:13 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id AFF6C4064A; Sun, 22 Dec 2024 13:58:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734872282; x=1766408282; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qZFwH7lwfAb2q6HhR0i8Z235o0vNE9SuvQuIjGTiOYk=; b=GEqjSY+2zbBBHuyMo8INS2KycMSGTbQdGAKa7jwbFZd8+SxzSVlZsArx AYCeIatvnbv67bCn7t+aOccJACqJAKPqmzuRcPruEVORhmI5+zdQSxte8 jQG/q2t6RTRKKxNPFJRvuFHOXWrpcq3F8Ep0Aq3w1PYNmXzP98fzfqyk0 M=; X-CSE-ConnectionGUID: imhA2qT8QAO75qj4MsRblQ== X-CSE-MsgGUID: p5zSQeBUTruI9FU3T0VAtw== X-IronPort-AV: E=Sophos;i="6.12,255,1728943200"; d="scan'208";a="28290607" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 22 Dec 2024 13:58:02 +0100 Received: from localhost.localdomain (88-183-119-157.subs.proxad.net [88.183.119.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtps.eurecom.fr (Postfix) with ESMTPSA id 2D8F6259E; Sun, 22 Dec 2024 13:58:02 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra Subject: [PATCH v4 10/11] common/cnxk: remove unused plt_bitmap_free() Date: Sun, 22 Dec 2024 13:49:30 +0100 Message-ID: <20241222125725.1532157-11-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241222125725.1532157-1-otilibil@eurecom.fr> References: <20241222125725.1532157-1-otilibil@eurecom.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Depends on d5941e7269 ("devtools/cocci,lib/eal: remove unused rte_bitmap_free()"). plt_bitmap_free() is an alias of rte_bitmap_free(). A subsequent commit removes all its occurrences: ``` $ git grep -Pn 'plt_bitmap_free\(' drivers/common/cnxk/roc_mcs.c:722: plt_bitmap_free(rsrc->tcam_bmap); drivers/common/cnxk/roc_mcs.c:724: plt_bitmap_free(rsrc->secy_bmap); drivers/common/cnxk/roc_mcs.c:726: plt_bitmap_free(rsrc->sc_bmap); drivers/common/cnxk/roc_mcs.c:728: plt_bitmap_free(rsrc->sa_bmap); drivers/common/cnxk/roc_nix_inl_dev.c:840: plt_bitmap_free(inl_dev->soft_exp_ring_bmap); drivers/common/cnxk/roc_nix_inl_dev.c:1072: plt_bitmap_free(inl_dev->soft_exp_ring_bmap); drivers/common/cnxk/roc_nix_tm.c:2036: plt_bitmap_free(nix->schq_bmp[hw_lvl]); drivers/common/cnxk/roc_nix_tm.c:2037: plt_bitmap_free(nix->schq_contig_bmp[hw_lvl]); drivers/common/cnxk/roc_npa.c:1260: plt_bitmap_free(lf->npa_bmp); drivers/common/cnxk/roc_npa.c:1277: plt_bitmap_free(lf->npa_bmp); drivers/common/cnxk/roc_npc_aging.c:46: plt_bitmap_free(flow_age->aged_flows); drivers/net/cnxk/cnxk_ethdev.c:314: plt_bitmap_free(dev->outb.sa_bmap); ``` Fixes: fa8f86a14e ("common/cnxk: add build infrastructre and HW definition") Signed-off-by: Ariel Otilibili --- Cc: stable@dpdk.org Cc: Nithin Dabilpuram Cc: Kiran Kumar K Cc: Sunil Kumar Kori Cc: Satha Rao Cc: Harman Kalra --- drivers/common/cnxk/roc_platform.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h index df4f88f288..6c4a69377f 100644 --- a/drivers/common/cnxk/roc_platform.h +++ b/drivers/common/cnxk/roc_platform.h @@ -124,7 +124,6 @@ #define plt_bitmap rte_bitmap #define plt_bitmap_init rte_bitmap_init #define plt_bitmap_reset rte_bitmap_reset -#define plt_bitmap_free rte_bitmap_free #define plt_bitmap_clear rte_bitmap_clear #define plt_bitmap_set rte_bitmap_set #define plt_bitmap_get rte_bitmap_get -- 2.47.1