]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_hash_scaling.c
app/test: rework command registration
[dpdk.git] / app / test / test_hash_scaling.c
index 1c4c75d634ef7a304cf0011fda310cd2850eb8ee..46c48e549b00b9897daeb08bbb1ca0d44cc61175 100644 (file)
@@ -217,9 +217,4 @@ test_hash_scaling_main(void)
        return r;
 }
 
-
-static struct test_command hash_scaling_cmd = {
-       .command = "hash_scaling_autotest",
-       .callback = test_hash_scaling_main,
-};
-REGISTER_TEST_COMMAND(hash_scaling_cmd);
+REGISTER_TEST_COMMAND(hash_scaling_autotest, test_hash_scaling_main);