diff --git a/lib/env_dpdk/pci.c b/lib/env_dpdk/pci.c index 4d812366d..74859f33a 100644 --- a/lib/env_dpdk/pci.c +++ b/lib/env_dpdk/pci.c @@ -131,7 +131,6 @@ detach_rte(struct spdk_pci_device *dev) bool removed; if (!spdk_process_is_primary()) { - remove_rte_dev(rte_dev); return; }