Depends on 17dd8149d6 ("devtools/cocci,lib/eal: remove unused
rte_bitmap_free()").

Fixes: 06c047b680 ("remove unnecessary null checks")
Signed-off-by: Ariel Otilibili <otili...@eurecom.fr>
---
Cc: sta...@dpdk.org
Cc: Dariusz Sosnowski <dsosnow...@nvidia.com>
Cc: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Cc: Bing Zhao <bi...@nvidia.com>
Cc: Ori Kam <or...@nvidia.com>
Cc: Suanming Mou <suanmi...@nvidia.com>
Cc: Matan Azrad <ma...@nvidia.com>
---
 drivers/common/mlx5/mlx5_common_mr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/common/mlx5/mlx5_common_mr.c 
b/drivers/common/mlx5/mlx5_common_mr.c
index 50922ad398..dee0b521dd 100644
--- a/drivers/common/mlx5/mlx5_common_mr.c
+++ b/drivers/common/mlx5/mlx5_common_mr.c
@@ -494,7 +494,6 @@ mlx5_mr_free(struct mlx5_mr *mr, mlx5_dereg_mr_t 
dereg_mr_cb)
                return;
        DRV_LOG(DEBUG, "freeing MR(%p):", (void *)mr);
        dereg_mr_cb(&mr->pmd_mr);
-       rte_bitmap_free(mr->ms_bmp);
        mlx5_free(mr);
 }
 
-- 
2.47.1

Reply via email to