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/ngbe: fix packet statistics
[dpdk.git]
/
drivers
/
net
/
hinic
/
hinic_pmd_ethdev.c
diff --git
a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic/hinic_pmd_ethdev.c
index
e8d9aab
..
35788f4
100644
(file)
--- a/
drivers/net/hinic/hinic_pmd_ethdev.c
+++ b/
drivers/net/hinic/hinic_pmd_ethdev.c
@@
-2662,8
+2662,7
@@
static int hinic_copy_mempool_init(struct hinic_nic_dev *nic_dev)
static void hinic_copy_mempool_uninit(struct hinic_nic_dev *nic_dev)
{
- if (nic_dev->cpy_mpool != NULL)
- rte_mempool_free(nic_dev->cpy_mpool);
+ rte_mempool_free(nic_dev->cpy_mpool);
}
static int hinic_init_sw_rxtxqs(struct hinic_nic_dev *nic_dev)