From: Zhiyong Yang Date: Fri, 28 Jul 2017 08:10:14 +0000 (+0800) Subject: ethdev: remove duplicate interrupt handle copy X-Git-Tag: spdx-start~2326 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ffae3ab3b7f6d0e8549def8aecc2e582e4bf4bb5;p=dpdk.git ethdev: remove duplicate interrupt handle copy 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 Acked-by: Gaetan Rivet --- diff --git a/lib/librte_ether/rte_ethdev_pci.h b/lib/librte_ether/rte_ethdev_pci.h index c3f7f721c3..fe2e0f64c9 100644 --- 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; }