]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_table.c
app/test: rework command registration
[dpdk.git] / app / test / test_table.c
index 676dab23dc3171a2b78c1d911d8c06f74775949f..1faa0a6d80a511c2e671655a63b20224736ce9dd 100644 (file)
@@ -199,8 +199,4 @@ test_table(void)
        return 0;
 }
 
-static struct test_command table_cmd = {
-       .command = "table_autotest",
-       .callback = test_table,
-};
-REGISTER_TEST_COMMAND(table_cmd);
+REGISTER_TEST_COMMAND(table_autotest, test_table);