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 9E9EC45F13; Sun, 22 Dec 2024 13:57:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F281402E5; Sun, 22 Dec 2024 13:57:56 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id 1C7DE402DE; Sun, 22 Dec 2024 13:57:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734872266; x=1766408266; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=f/LPnkd4LitKuKTNODLFPZwNUd0K2Ls/416h9wiZY9s=; b=qNYsGmCMXD2AvRxYkyjYzqjl3GK2MZrfiPFAGUpBKtt9TPRtxO6JanSj CI5vezm5IRaCMpgHzthJqXNhl7g6jGN1Af1WBOZ4sBH5yh/6eo0UTijf+ 4yQ04pvLZqFi0lpP6XgB3W/O6V04mZFmRyPYFD/5wa2nfWYHquFO8sSYu Q=; X-CSE-ConnectionGUID: iZgZjEFsSkKLCrkLFG9QjQ== X-CSE-MsgGUID: sccTPYh6SNqTV4vTukm0pg== X-IronPort-AV: E=Sophos;i="6.12,255,1728943200"; d="scan'208";a="28290597" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 22 Dec 2024 13:57:45 +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 D46E92594; Sun, 22 Dec 2024 13:57:44 +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 , Long Li , Wei Hu , Chas Williams , "Min Hu (Connor)" , Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad , Potnuri Bharat Teja , Andrew Boyer , Andrew Rybchenko , Cristian Dumitrescu , Stephen Hemminger Subject: [PATCH v4 00/11] devtools, lib, test, net, common: remove unused rte_bitmap_free() and plt_bitmap_free() Date: Sun, 22 Dec 2024 13:49:20 +0100 Message-ID: <20241222125725.1532157-1-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 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 Hello, The first version was about the clearing of Coverity IDs 357712 & 357737; now this series is about the removal of rte_bitmap_free() and its alias plt_bitmap_free(). As of commit 07604f2644 ("maintainers: update for next-net tree"): * rte_bitmap_free() returns an integer, and does nothing else * all functions that call rte_bitmap_free() do not use this return value. Details are in d5941e7269 ("devtools/cocci,lib/eal: remove unused rte_bitmap_free()"). Looking forward your feedback, --- v4: * fix style issues, https://patches.dpdk.org/project/dpdk/patch/20241222013328.1362225-3-otilibil@eurecom.fr/ * fix build failures, https://github.com/ovsrobot/dpdk/actions/runs/12450201352 v3: * addressed feedback from Stephen Hemminger * removed rte_bitmap_free() wherever it was used v2: * fix style issues. Ariel Otilibili (11): devtools/cocci,lib/eal: remove unused rte_bitmap_free() app/test: remove unused rte_bitmap_free() net/sfc: remove unused rte_bitmap_free() crypto/ionic: remove unused rte_bitmap_free() net/cxgbe: remove unused rte_bitmap_free() net/mlx4: remove unused rte_bitmap_free() common/mlx5: remove unused rte_bitmap_free() net/bonding: remove unused rte_bitmap_free() net/netvsc: remove unused rte_bitmap_free() common/cnxk: remove unused plt_bitmap_free() {common,net}/cnxk: remove unused plt_bitmap_free() app/test/test_bitmap.c | 2 -- devtools/cocci/nullfree.cocci | 3 --- drivers/common/cnxk/roc_mcs.c | 4 ---- drivers/common/cnxk/roc_nix_inl_dev.c | 2 -- drivers/common/cnxk/roc_nix_tm.c | 5 ----- drivers/common/cnxk/roc_npa.c | 4 ---- drivers/common/cnxk/roc_npc_aging.c | 1 - drivers/common/cnxk/roc_platform.h | 1 - drivers/common/mlx5/mlx5_common_mr.c | 1 - drivers/crypto/ionic/ionic_crypto_main.c | 1 - drivers/net/bonding/rte_eth_bond_pmd.c | 1 - drivers/net/cnxk/cnxk_ethdev.c | 1 - drivers/net/cxgbe/cxgbe_main.c | 1 - drivers/net/mlx4/mlx4_mr.c | 1 - drivers/net/netvsc/hn_rxtx.c | 1 - drivers/net/sfc/sfc_sw_stats.c | 1 - lib/eal/include/rte_bitmap.h | 19 ------------------- 17 files changed, 49 deletions(-) -- 2.47.1