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
net/txgbe: fix queue statistics mapping
[dpdk.git]
/
drivers
/
net
/
mlx4
/
mlx4_mr.c
diff --git
a/drivers/net/mlx4/mlx4_mr.c
b/drivers/net/mlx4/mlx4_mr.c
index
2274b5d
..
e95f45a
100644
(file)
--- a/
drivers/net/mlx4/mlx4_mr.c
+++ b/
drivers/net/mlx4/mlx4_mr.c
@@
-471,8
+471,7
@@
mr_free(struct mlx4_mr *mr)
DEBUG("freeing MR(%p):", (void *)mr);
if (mr->ibv_mr != NULL)
claim_zero(mlx4_glue->dereg_mr(mr->ibv_mr));
- if (mr->ms_bmp != NULL)
- rte_bitmap_free(mr->ms_bmp);
+ rte_bitmap_free(mr->ms_bmp);
rte_free(mr);
}