]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_ring_perf.c
app/test: rework command registration
[dpdk.git] / app / test / test_ring_perf.c
index 8c47ccb7e883fe81586d5c55996c981d7451e3e6..320c20cd2cb4c0918bdf207372f7cc9ca49f9ee6 100644 (file)
@@ -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);