ethdev: remove old close behaviour
[dpdk.git] / drivers / net / bnx2x / bnx2x_ethdev.c
index 8dc4638..40225b2 100644 (file)
@@ -735,11 +735,6 @@ bnx2x_common_dev_init(struct rte_eth_dev *eth_dev, int is_vf)
                        goto out;
        }
 
-       /* 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;
-
        return 0;
 
 out: