--- drivers/vhost/vhost.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 7a587b13095c..03e6bca02288 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -2205,10 +2205,6 @@ static int fetch_buf(struct vhost_virtqueue *vq) last_avail_idx = vq->last_avail_idx; if (unlikely(vq->avail_idx == vq->last_avail_idx)) { - /* If we already have work to do, don't bother re-checking. */ - if (likely(vq->ndescs)) - return 1; - if (unlikely(vhost_get_avail_idx(vq, &avail_idx))) { vq_err(vq, "Failed to access avail idx at %p\n", &vq->avail->idx); -- MST _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization