git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app/test: rework command registration
[dpdk.git]
/
app
/
test
/
test_timer_perf.c
diff --git
a/app/test/test_timer_perf.c
b/app/test/test_timer_perf.c
index
3f7ddd3
..
fa77efb
100644
(file)
--- a/
app/test/test_timer_perf.c
+++ b/
app/test/test_timer_perf.c
@@
-158,8
+158,4
@@
test_timer_perf(void)
return 0;
}
-static struct test_command timer_perf_cmd = {
- .command = "timer_perf_autotest",
- .callback = test_timer_perf,
-};
-REGISTER_TEST_COMMAND(timer_perf_cmd);
+REGISTER_TEST_COMMAND(timer_perf_autotest, test_timer_perf);