X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_common.c;h=8effa2f9edf38ac2cd8dd6754eb27031d551b795;hb=dd0eedb1cfcf0cb7423d859177c5bc6f931eaf8a;hp=66e910985d82b1bce459fffd96726682bd892f58;hpb=66abc3f310a9eeb816ff37107c29f4e110179e43;p=dpdk.git diff --git a/app/test/test_common.c b/app/test/test_common.c index 66e910985d..8effa2f9ed 100644 --- a/app/test/test_common.c +++ b/app/test/test_common.c @@ -169,8 +169,4 @@ test_common(void) return ret; } -static struct test_command common_cmd = { - .command = "common_autotest", - .callback = test_common, -}; -REGISTER_TEST_COMMAND(common_cmd); +REGISTER_TEST_COMMAND(common_autotest, test_common);