]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_memcpy_perf.c
app/test: rework command registration
[dpdk.git] / app / test / test_memcpy_perf.c
index be69eada84d75eb0060b6951e499fde380df4a26..ff3aaaacad35223788f4b769e7f7fbc98442be14 100644 (file)
@@ -351,8 +351,4 @@ test_memcpy_perf(void)
        return 0;
 }
 
-static struct test_command memcpy_perf_cmd = {
-       .command = "memcpy_perf_autotest",
-       .callback = test_memcpy_perf,
-};
-REGISTER_TEST_COMMAND(memcpy_perf_cmd);
+REGISTER_TEST_COMMAND(memcpy_perf_autotest, test_memcpy_perf);