X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_ring_perf.c;h=320c20cd2cb4c0918bdf207372f7cc9ca49f9ee6;hb=c2fc18cf6971291a7022bb97f221264cc5159219;hp=8c47ccb7e883fe81586d5c55996c981d7451e3e6;hpb=b5cdd645c9fc62341d55aebbfc93a1b648415512;p=deb_dpdk.git 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);