DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v4 00/11] devtools, lib, test, net, common: remove unused rte_bitmap_free() and plt_bitmap_free()
@ 2024-12-22 12:49 Ariel Otilibili
  2024-12-22 12:49 ` [PATCH v4 01/11] devtools/cocci, lib/eal: remove unused rte_bitmap_free() Ariel Otilibili
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Ariel Otilibili @ 2024-12-22 12:49 UTC (permalink / raw)
  To: dev
  Cc: stable, 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

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-12-22 12:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-22 12:49 [PATCH v4 00/11] devtools, lib, test, net, common: remove unused rte_bitmap_free() and plt_bitmap_free() Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 01/11] devtools/cocci, lib/eal: remove unused rte_bitmap_free() Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 02/11] app/test: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 03/11] net/sfc: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 04/11] crypto/ionic: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 05/11] net/cxgbe: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 06/11] net/mlx4: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 07/11] common/mlx5: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 08/11] net/bonding: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 09/11] net/netvsc: " Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 10/11] common/cnxk: remove unused plt_bitmap_free() Ariel Otilibili
2024-12-22 12:49 ` [PATCH v4 11/11] {common,net}/cnxk: " Ariel Otilibili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).