summaryrefslogtreecommitdiffstats
path: root/app/test/test_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_hash.c')
-rw-r--r--app/test/test_hash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_hash.c b/app/test/test_hash.c
index 29abcd9e..94300e19 100644
--- a/app/test/test_hash.c
+++ b/app/test/test_hash.c
@@ -1514,8 +1514,4 @@ test_hash(void)
return 0;
}
-static struct test_command hash_cmd = {
- .command = "hash_autotest",
- .callback = test_hash,
-};
-REGISTER_TEST_COMMAND(hash_cmd);
+REGISTER_TEST_COMMAND(hash_autotest, test_hash);