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
vhost: add inflight description
[dpdk.git]
/
lib
/
librte_ethdev
/
rte_ethdev_pci.h
diff --git
a/lib/librte_ethdev/rte_ethdev_pci.h
b/lib/librte_ethdev/rte_ethdev_pci.h
index
23257e9
..
ccdbb46
100644
(file)
--- a/
lib/librte_ethdev/rte_ethdev_pci.h
+++ b/
lib/librte_ethdev/rte_ethdev_pci.h
@@
-184,7
+184,7
@@
rte_eth_dev_pci_generic_remove(struct rte_pci_device *pci_dev,
eth_dev = rte_eth_dev_allocated(pci_dev->device.name);
if (!eth_dev)
- return
-ENODEV
;
+ return
0
;
if (dev_uninit) {
ret = dev_uninit(eth_dev);