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/i40e: add outer VLAN processing
[dpdk.git]
/
drivers
/
net
/
softnic
/
rte_eth_softnic_thread.c
diff --git
a/drivers/net/softnic/rte_eth_softnic_thread.c
b/drivers/net/softnic/rte_eth_softnic_thread.c
index
4a9f2fa
..
ec8bef4
100644
(file)
--- a/
drivers/net/softnic/rte_eth_softnic_thread.c
+++ b/
drivers/net/softnic/rte_eth_softnic_thread.c
@@
-29,11
+29,9
@@
softnic_thread_free(struct pmd_internals *softnic)
struct softnic_thread *t = &softnic->thread[i];
/* MSGQs */
- if (t->msgq_req)
- rte_ring_free(t->msgq_req);
+ rte_ring_free(t->msgq_req);
- if (t->msgq_rsp)
- rte_ring_free(t->msgq_rsp);
+ rte_ring_free(t->msgq_rsp);
}
}