]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/i40e/i40e_ethdev_vf.c
ethdev: remove old close behaviour
[dpdk.git] / drivers / net / i40e / i40e_ethdev_vf.c
index 61aad8c41592ea98360beb8ed719a7242603d66f..4aaf41956c117236b6cac690a539a4a65e9f12a3 100644 (file)
@@ -1586,11 +1586,6 @@ i40evf_dev_init(struct rte_eth_dev *eth_dev)
        hw->adapter_stopped = 1;
        hw->adapter_closed = 0;
 
-       /* Pass the information to the rte_eth_dev_close() that it should also
-        * release the private port resources.
-        */
-       eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
-
        if(i40evf_init_vf(eth_dev) != 0) {
                PMD_INIT_LOG(ERR, "Init vf failed");
                return -1;