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/mlx5: fix external Rx queue dereferencing
[dpdk.git]
/
examples
/
vhost_blk
/
vhost_blk.c
diff --git
a/examples/vhost_blk/vhost_blk.c
b/examples/vhost_blk/vhost_blk.c
index
feadacc
..
2cab1e6
100644
(file)
--- a/
examples/vhost_blk/vhost_blk.c
+++ b/
examples/vhost_blk/vhost_blk.c
@@
-849,8
+849,7
@@
static void
vhost_blk_ctrlr_destroy(struct vhost_blk_ctrlr *ctrlr)
{
if (ctrlr->bdev != NULL) {
- if (ctrlr->bdev->data != NULL)
- rte_free(ctrlr->bdev->data);
+ rte_free(ctrlr->bdev->data);
rte_free(ctrlr->bdev);
}