]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enic/enic_ethdev.c
ethdev: remove old close behaviour
[dpdk.git] / drivers / net / enic / enic_ethdev.c
index ed03d53608f64de1b7a8d779f9fa8db8f07832c6..27f60b45b8f3b4a1f1cdf222a83de20bebefc071 100644 (file)
@@ -1292,8 +1292,6 @@ static int eth_enic_dev_init(struct rte_eth_dev *eth_dev,
        enic->port_id = eth_dev->data->port_id;
        enic->rte_dev = eth_dev;
        enic->dev_data = eth_dev->data;
-       /* Let rte_eth_dev_close() release the port resources */
-       eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
 
        pdev = RTE_ETH_DEV_TO_PCI(eth_dev);
        rte_eth_copy_pci_info(eth_dev, pdev);