summaryrefslogtreecommitdiffstats
path: root/app/test/test_atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_atomic.c')
-rw-r--r--app/test/test_atomic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index 588f5309..b5e7e1b7 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -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);