summaryrefslogtreecommitdiffstats
path: root/app/test/test_lpm_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_lpm_perf.c')
-rw-r--r--app/test/test_lpm_perf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_lpm_perf.c b/app/test/test_lpm_perf.c
index 41da811c..58eb415e 100644
--- a/app/test/test_lpm_perf.c
+++ b/app/test/test_lpm_perf.c
@@ -242,8 +242,4 @@ test_lpm_perf(void)
return 0;
}
-static struct test_command lpm_perf_cmd = {
- .command = "lpm_perf_autotest",
- .callback = test_lpm_perf,
-};
-REGISTER_TEST_COMMAND(lpm_perf_cmd);
+REGISTER_TEST_COMMAND(lpm_perf_autotest, test_lpm_perf);