aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_eal_flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_eal_flags.c')
-rw-r--r--app/test/test_eal_flags.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index 93ae6e76..6202f057 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/test_eal_flags.c
@@ -1441,8 +1441,4 @@ test_eal_flags(void)
return ret;
}
-static struct test_command eal_flags_cmd = {
- .command = "eal_flags_autotest",
- .callback = test_eal_flags,
-};
-REGISTER_TEST_COMMAND(eal_flags_cmd);
+REGISTER_TEST_COMMAND(eal_flags_autotest, test_eal_flags);