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_pci.c
diff --git
a/app/test/test_pci.c
b/app/test/test_pci.c
index
354a0ad
..
69f78d9
100644
(file)
--- a/
app/test/test_pci.c
+++ b/
app/test/test_pci.c
@@
-315,8
+315,4
@@
test_pci(void)
return 0;
}
-static struct test_command pci_cmd = {
- .command = "pci_autotest",
- .callback = test_pci,
-};
-REGISTER_TEST_COMMAND(pci_cmd);
+REGISTER_TEST_COMMAND(pci_autotest, test_pci);