summaryrefslogtreecommitdiffstats
path: root/app/test/test_ring_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_ring_perf.c')
-rw-r--r--app/test/test_ring_perf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_ring_perf.c b/app/test/test_ring_perf.c
index 8c47ccb7..320c20cd 100644
--- a/app/test/test_ring_perf.c
+++ b/app/test/test_ring_perf.c
@@ -414,8 +414,4 @@ test_ring_perf(void)
return 0;
}
-static struct test_command ring_perf_cmd = {
- .command = "ring_perf_autotest",
- .callback = test_ring_perf,
-};
-REGISTER_TEST_COMMAND(ring_perf_cmd);
+REGISTER_TEST_COMMAND(ring_perf_autotest, test_ring_perf);