git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05b444
)
ethdev: remove duplicate interrupt handle copy
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Fri, 28 Jul 2017 08:10:14 +0000
(16:10 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 31 Jul 2017 15:04:11 +0000
(17:04 +0200)
The code eth_dev->intr_handle = &dev->intr_handle; has duplicate code
in the function rte_eth_copy_pci_info(), remove it here.
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_ether/rte_ethdev_pci.h
patch
|
blob
|
history
diff --git
a/lib/librte_ether/rte_ethdev_pci.h
b/lib/librte_ether/rte_ethdev_pci.h
index
c3f7f72
..
fe2e0f6
100644
(file)
--- a/
lib/librte_ether/rte_ethdev_pci.h
+++ b/
lib/librte_ether/rte_ethdev_pci.h
@@
-117,7
+117,6
@@
rte_eth_dev_pci_allocate(struct rte_pci_device *dev, size_t private_data_size)
}
eth_dev->device = &dev->device;
- eth_dev->intr_handle = &dev->intr_handle;
rte_eth_copy_pci_info(eth_dev, dev);
return eth_dev;
}