ethdev: remove release function for secondary process
[dpdk.git] / drivers / net / octeontx / octeontx_ethdev.c
index 7465079..0681486 100644 (file)
@@ -1129,7 +1129,7 @@ octeontx_remove(struct rte_vdev_device *dev)
                        return -ENODEV;
 
                if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
-                       rte_eth_dev_release_port_secondary(eth_dev);
+                       rte_eth_dev_release_port(eth_dev);
                        continue;
                }