X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest%2Ftest_hash_perf.c;h=c0051b20fbe2c70d21642ef89c5a237e5ac096e6;hb=5d4e5dcd8a186778b3d78e27c81550d07a288fd2;hp=9d53c1412d81a62d4032a9aed9803283364467d7;hpb=a41e6ff15809d40e0f9bbc9576bf8f7f80fbec1d;p=deb_dpdk.git diff --git a/app/test/test_hash_perf.c b/app/test/test_hash_perf.c index 9d53c141..c0051b20 100644 --- a/app/test/test_hash_perf.c +++ b/app/test/test_hash_perf.c @@ -656,8 +656,4 @@ test_hash_perf(void) return 0; } -static struct test_command hash_perf_cmd = { - .command = "hash_perf_autotest", - .callback = test_hash_perf, -}; -REGISTER_TEST_COMMAND(hash_perf_cmd); +REGISTER_TEST_COMMAND(hash_perf_autotest, test_hash_perf);