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
examples: do not probe pci twice
[dpdk.git]
/
examples
/
exception_path
/
main.c
diff --git
a/examples/exception_path/main.c
b/examples/exception_path/main.c
index
f286bf2
..
b485976
100644
(file)
--- a/
examples/exception_path/main.c
+++ b/
examples/exception_path/main.c
@@
-567,11
+567,6
@@
main(int argc, char** argv)
return -1;
}
- /* Scan PCI bus for recognised devices */
- ret = rte_eal_pci_probe();
- if (ret < 0)
- FATAL_ERROR("Could not probe PCI (%d)", ret);
-
/* Get number of ports found in scan */
nb_sys_ports = rte_eth_dev_count();
if (nb_sys_ports == 0)