git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/mlx5: fix default devargs initialization
[dpdk.git]
/
drivers
/
common
/
mlx5
/
mlx5_common_mr.c
diff --git
a/drivers/common/mlx5/mlx5_common_mr.c
b/drivers/common/mlx5/mlx5_common_mr.c
index
5f7e4f6
..
fa27bd9
100644
(file)
--- a/
drivers/common/mlx5/mlx5_common_mr.c
+++ b/
drivers/common/mlx5/mlx5_common_mr.c
@@
-516,8
+516,7
@@
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);
- if (mr->ms_bmp != NULL)
- rte_bitmap_free(mr->ms_bmp);
+ rte_bitmap_free(mr->ms_bmp);
mlx5_free(mr);
}