net/mlx5: share Rx queue indirection table code
[dpdk.git] / drivers / net / e1000 / em_ethdev.c
index 188cda3..902b1cd 100644 (file)
@@ -321,7 +321,7 @@ eth_em_dev_uninit(struct rte_eth_dev *eth_dev)
        PMD_INIT_FUNC_TRACE();
 
        if (rte_eal_process_type() != RTE_PROC_PRIMARY)
-               return -EPERM;
+               return 0;
 
        eth_em_close(eth_dev);