]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_pmd_ring_perf.c
app/test: rework command registration
[dpdk.git] / app / test / test_pmd_ring_perf.c
index 3077dbad79cdaae12c2d07565d92c4e35fc7fb2d..af011f7db5c415e0a340ba7836f31de3327f64dc 100644 (file)
@@ -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);