]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mempool.c
app/test: rework command registration
[dpdk.git] / app / test / test_mempool.c
index 9ea9831461dbced521fa3e2f279069889886caaa..46ad6702f5a5a72165e73c098d1861a12f4528a8 100644 (file)
@@ -609,8 +609,4 @@ err:
        return -1;
 }
 
-static struct test_command mempool_cmd = {
-       .command = "mempool_autotest",
-       .callback = test_mempool,
-};
-REGISTER_TEST_COMMAND(mempool_cmd);
+REGISTER_TEST_COMMAND(mempool_autotest, test_mempool);