[v4,04/11] crypto/ionic: remove unused rte_bitmap_free()

Message ID 20241222125725.1532157-5-otilibil@eurecom.fr (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers
Series devtools, lib, test, net, common: remove unused rte_bitmap_free() and plt_bitmap_free() |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Ariel Otilibili-Anieli Dec. 22, 2024, 12:49 p.m. UTC
Depends on d5941e7269 ("devtools/cocci,lib/eal: remove unused
rte_bitmap_free()").

Fixes: 6bc7f2cf66 ("crypto/ionic: support sessions")
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
---
Cc: stable@dpdk.org
Cc: Andrew Boyer <andrew.boyer@amd.com>
---
 drivers/crypto/ionic/ionic_crypto_main.c | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/drivers/crypto/ionic/ionic_crypto_main.c b/drivers/crypto/ionic/ionic_crypto_main.c
index f670d6e658..ef5b54f161 100644
--- a/drivers/crypto/ionic/ionic_crypto_main.c
+++ b/drivers/crypto/ionic/ionic_crypto_main.c
@@ -814,7 +814,6 @@  iocpt_free_objs(struct iocpt_dev *dev)
 	}
 
 	if (dev->sess_bm != NULL) {
-		rte_bitmap_free(dev->sess_bm);
 		rte_free(dev->sess_bm);
 		dev->sess_bm = NULL;
 	}