summaryrefslogtreecommitdiffstats
path: root/app/test/test_lpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_lpm.c')
-rw-r--r--app/test/test_lpm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index f6930fbd..b6ad2ebd 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -1238,8 +1238,4 @@ test_lpm(void)
return global_status;
}
-static struct test_command lpm_cmd = {
- .command = "lpm_autotest",
- .callback = test_lpm,
-};
-REGISTER_TEST_COMMAND(lpm_cmd);
+REGISTER_TEST_COMMAND(lpm_autotest, test_lpm);