summaryrefslogtreecommitdiffstats
path: root/app/test/test_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_mbuf.c')
-rw-r--r--app/test/test_mbuf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 8664885d..684ad80f 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1026,8 +1026,4 @@ test_mbuf(void)
return 0;
}
-static struct test_command mbuf_cmd = {
- .command = "mbuf_autotest",
- .callback = test_mbuf,
-};
-REGISTER_TEST_COMMAND(mbuf_cmd);
+REGISTER_TEST_COMMAND(mbuf_autotest, test_mbuf);