]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_atomic.c
app/test: rework command registration
[dpdk.git] / app / test / test_atomic.c
index 588f53094d10de26ca2e7051cce75372e79dbc9b..b5e7e1b78f53d0da83bc0b8ddb83a0698d163f69 100644 (file)
@@ -374,8 +374,4 @@ test_atomic(void)
        return 0;
 }
 
-static struct test_command atomic_cmd = {
-       .command = "atomic_autotest",
-       .callback = test_atomic,
-};
-REGISTER_TEST_COMMAND(atomic_cmd);
+REGISTER_TEST_COMMAND(atomic_autotest, test_atomic);