X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=app%2Ftest%2Ftest_ring_perf.c;h=320c20cd2cb4c0918bdf207372f7cc9ca49f9ee6;hp=8c47ccb7e883fe81586d5c55996c981d7451e3e6;hb=26e09db6cb5fd9bbf0feb928561af9932694574b;hpb=d7cdc5065bb78c28607aecb0b3576d7690c71216 diff --git a/app/test/test_ring_perf.c b/app/test/test_ring_perf.c index 8c47ccb7e8..320c20cd2c 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);