[RFC,v2,09/10] app/compress-perf: remove weak symbols
Commit Message
Remove dead code, those symbols are never used as the "strong" symbols
are always linked in.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
app/test-compress-perf/main.c | 62 -----------------------------------
1 file changed, 62 deletions(-)
@@ -521,65 +521,3 @@ main(int argc, char **argv)
}
return ret;
}
-
-__rte_weak void *
-cperf_cyclecount_test_constructor(uint8_t dev_id __rte_unused,
- uint16_t qp_id __rte_unused,
- struct comp_test_data *options __rte_unused)
-{
- RTE_LOG(INFO, USER1, "Cycle count test is not supported yet\n");
- return NULL;
-}
-
-__rte_weak void
-cperf_cyclecount_test_destructor(void *arg __rte_unused)
-{
- RTE_LOG(INFO, USER1, "Something wrong happened!!!\n");
-}
-
-__rte_weak int
-cperf_cyclecount_test_runner(void *test_ctx __rte_unused)
-{
- return 0;
-}
-
-__rte_weak void *
-cperf_throughput_test_constructor(uint8_t dev_id __rte_unused,
- uint16_t qp_id __rte_unused,
- struct comp_test_data *options __rte_unused)
-{
- RTE_LOG(INFO, USER1, "Benchmark test is not supported yet\n");
- return NULL;
-}
-
-__rte_weak void
-cperf_throughput_test_destructor(void *arg __rte_unused)
-{
-
-}
-
-__rte_weak int
-cperf_throughput_test_runner(void *test_ctx __rte_unused)
-{
- return 0;
-}
-__rte_weak void *
-cperf_verify_test_constructor(uint8_t dev_id __rte_unused,
- uint16_t qp_id __rte_unused,
- struct comp_test_data *options __rte_unused)
-{
- RTE_LOG(INFO, USER1, "Verify test is not supported yet\n");
- return NULL;
-}
-
-__rte_weak void
-cperf_verify_test_destructor(void *arg __rte_unused)
-{
-
-}
-
-__rte_weak int
-cperf_verify_test_runner(void *test_ctx __rte_unused)
-{
- return 0;
-}