[PATCH v4 00/11] devtools, lib, test, net, common: remove unused rte_bitmap_free() and plt_bitmap_free()
Ariel Otilibili
otilibil at eurecom.fr
Sun Dec 22 13:49:20 CET 2024
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
More information about the stable
mailing list