]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnx2x/bnx2x_ethdev.c
ethdev: remove old close behaviour
[dpdk.git] / drivers / net / bnx2x / bnx2x_ethdev.c
index 8dc46384af8dd9865e515b6f223b07aaf7245694..40225b2f44deeb4484ee348015b3905ffa14b6b1 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: