aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_pmd_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_pmd_perf.c')
-rw-r--r--app/test/test_pmd_perf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 3d56cd29..e055aa07 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -910,8 +910,4 @@ test_set_rxtx_sc(cmdline_fixed_string_t type)
return -1;
}
-static struct test_command pmd_perf_cmd = {
- .command = "pmd_perf_autotest",
- .callback = test_pmd_perf,
-};
-REGISTER_TEST_COMMAND(pmd_perf_cmd);
+REGISTER_TEST_COMMAND(pmd_perf_autotest, test_pmd_perf);