]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_lpm6_perf.c
app/test: rework command registration
[dpdk.git] / app / test / test_lpm6_perf.c
index b7d46314cefae03e88e0eec4e1b4f92369a29545..be47d4a18de70f0b2c3405fe04183a3b63393451 100644 (file)
@@ -184,8 +184,4 @@ test_lpm6_perf(void)
        return 0;
 }
 
-static struct test_command lpm6_perf_cmd = {
-       .command = "lpm6_perf_autotest",
-       .callback = test_lpm6_perf,
-};
-REGISTER_TEST_COMMAND(lpm6_perf_cmd);
+REGISTER_TEST_COMMAND(lpm6_perf_autotest, test_lpm6_perf);