aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_pmd_ring_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_pmd_ring_perf.c')
-rw-r--r--app/test/test_pmd_ring_perf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_pmd_ring_perf.c b/app/test/test_pmd_ring_perf.c
index 3077dbad..af011f7d 100644
--- a/app/test/test_pmd_ring_perf.c
+++ b/app/test/test_pmd_ring_perf.c
@@ -181,8 +181,4 @@ test_ring_pmd_perf(void)
return 0;
}
-static struct test_command ring_pmd_perf_cmd = {
- .command = "ring_pmd_perf_autotest",
- .callback = test_ring_pmd_perf,
-};
-REGISTER_TEST_COMMAND(ring_pmd_perf_cmd);
+REGISTER_TEST_COMMAND(ring_pmd_perf_autotest, test_ring_pmd_perf);