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
/
test_cksum.c
diff --git
a/app/test/test_cksum.c
b/app/test/test_cksum.c
index
cd983d7
..
6c15de9
100644
(file)
--- a/
app/test/test_cksum.c
+++ b/
app/test/test_cksum.c
@@
-218,8
+218,7
@@
test_l4_cksum(struct rte_mempool *pktmbuf_pool, const char *pktdata, size_t len)
return 0;
fail:
- if (m)
- rte_pktmbuf_free(m);
+ rte_pktmbuf_free(m);
return -1;
}