ethdev: check more errors in xstats retrieval
[dpdk.git] / lib / librte_vhost / iotlb.c
index 05c2780..b74cc6a 100644 (file)
@@ -309,7 +309,6 @@ vhost_user_iotlb_init(struct virtio_net *dev, int vq_index)
                 */
                vhost_user_iotlb_cache_remove_all(vq);
                vhost_user_iotlb_pending_remove_all(vq);
-               return 0;
        }
 
 #ifdef RTE_LIBRTE_VHOST_NUMA