]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_hash_functions.c
app/test: rework command registration
[dpdk.git] / app / test / test_hash_functions.c
index f767a486109fa5520de58e8f806015d2c1f2f2fa..9652b04d45fffc9ff28286807d00d0680920db0f 100644 (file)
@@ -319,8 +319,4 @@ test_hash_functions(void)
        return 0;
 }
 
-static struct test_command hash_functions_cmd = {
-       .command = "hash_functions_autotest",
-       .callback = test_hash_functions,
-};
-REGISTER_TEST_COMMAND(hash_functions_cmd);
+REGISTER_TEST_COMMAND(hash_functions_autotest, test_hash_functions);