X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_hash_scaling.c;h=46c48e549b00b9897daeb08bbb1ca0d44cc61175;hb=2732340d33c9b92603573a94fd42222c13031c40;hp=1c4c75d634ef7a304cf0011fda310cd2850eb8ee;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/app/test/test_hash_scaling.c b/app/test/test_hash_scaling.c index 1c4c75d6..46c48e54 100644 --- a/app/test/test_hash_scaling.c +++ b/app/test/test_hash_scaling.c @@ -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);