[v4,10/11] common/cnxk: remove unused plt_bitmap_free()
Checks
Commit Message
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 <otilibil@eurecom.fr>
---
Cc: stable@dpdk.org
Cc: Nithin Dabilpuram <ndabilpuram@marvell.com>
Cc: Kiran Kumar K <kirankumark@marvell.com>
Cc: Sunil Kumar Kori <skori@marvell.com>
Cc: Satha Rao <skoteshwar@marvell.com>
Cc: Harman Kalra <hkalra@marvell.com>
---
drivers/common/cnxk/roc_platform.h | 1 -
1 file changed, 1 deletion(-)
@@ -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