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
regexdev: fix section attribute of symbols
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_pmd_cyclecount.c
diff --git
a/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
b/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
index
5842f29
..
6b4d09e
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
+++ b/
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
@@
-79,14
+79,11
@@
cperf_pmd_cyclecount_test_free(struct cperf_pmd_cyclecount_ctx *ctx)
}
}
- if (ctx->pool)
- rte_mempool_free(ctx->pool);
+ rte_mempool_free(ctx->pool);
- if (ctx->ops)
- rte_free(ctx->ops);
+ rte_free(ctx->ops);
- if (ctx->ops_processed)
- rte_free(ctx->ops_processed);
+ rte_free(ctx->ops_processed);
rte_free(ctx);
}