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/ena: check memory BAR before initializing LLQ
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
dpaa2_mux.c
diff --git
a/drivers/net/dpaa2/dpaa2_mux.c
b/drivers/net/dpaa2/dpaa2_mux.c
index
cd2f7b8
..
bd4596b
100644
(file)
--- a/
drivers/net/dpaa2/dpaa2_mux.c
+++ b/
drivers/net/dpaa2/dpaa2_mux.c
@@
-353,8
+353,7
@@
dpaa2_create_dpdmux_device(int vdev_fd __rte_unused,
return 0;
init_err:
- if (dpdmux_dev)
- rte_free(dpdmux_dev);
+ rte_free(dpdmux_dev);
return -1;
}