summaryrefslogtreecommitdiffstats
path: root/app/test/test_pmd_ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_pmd_ring.c')
-rw-r--r--app/test/test_pmd_ring.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_pmd_ring.c b/app/test/test_pmd_ring.c
index 34fea09c..47374db2 100644
--- a/app/test/test_pmd_ring.c
+++ b/app/test/test_pmd_ring.c
@@ -526,8 +526,4 @@ test_pmd_ring(void)
return 0;
}
-static struct test_command ring_pmd_cmd = {
- .command = "ring_pmd_autotest",
- .callback = test_pmd_ring,
-};
-REGISTER_TEST_COMMAND(ring_pmd_cmd);
+REGISTER_TEST_COMMAND(ring_pmd_autotest, test_pmd_ring);