net/sfc/base: add capabilities for bundle partition
[dpdk.git] / lib / librte_ethdev / rte_ethdev_pci.h
index 8ff4f6b..23257e9 100644 (file)
@@ -135,13 +135,6 @@ rte_eth_dev_pci_allocate(struct rte_pci_device *dev, size_t private_data_size)
 static inline void
 rte_eth_dev_pci_release(struct rte_eth_dev *eth_dev)
 {
-       if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
-               eth_dev->device = NULL;
-               eth_dev->intr_handle = NULL;
-               rte_eth_dev_release_port_secondary(eth_dev);
-               return;
-       }
-
        eth_dev->device = NULL;
        eth_dev->intr_handle = NULL;