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
examples/pipeline: improve learner table timers
[dpdk.git]
/
app
/
test
/
virtual_pmd.c
diff --git
a/app/test/virtual_pmd.c
b/app/test/virtual_pmd.c
index
3d27938
..
cd4611a
100644
(file)
--- a/
app/test/virtual_pmd.c
+++ b/
app/test/virtual_pmd.c
@@
-397,8
+397,7
@@
virtual_ethdev_tx_burst_fail(void *queue, struct rte_mbuf **bufs,
/* free packets in burst */
for (i = 0; i < successfully_txd; i++) {
/* free packets in burst */
- if (bufs[i] != NULL)
- rte_pktmbuf_free(bufs[i]);
+ rte_pktmbuf_free(bufs[i]);
bufs[i] = NULL;
}