diff options
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index b8bd7191572d..5ca97713bfb3 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -760,7 +760,6 @@ static int virtnet_poll(struct napi_struct *napi, int budget) | |||
760 | container_of(napi, struct receive_queue, napi); | 760 | container_of(napi, struct receive_queue, napi); |
761 | unsigned int r, received = 0; | 761 | unsigned int r, received = 0; |
762 | 762 | ||
763 | again: | ||
764 | received += virtnet_receive(rq, budget - received); | 763 | received += virtnet_receive(rq, budget - received); |
765 | 764 | ||
766 | /* Out of packets? */ | 765 | /* Out of packets? */ |
@@ -771,7 +770,6 @@ again: | |||
771 | napi_schedule_prep(napi)) { | 770 | napi_schedule_prep(napi)) { |
772 | virtqueue_disable_cb(rq->vq); | 771 | virtqueue_disable_cb(rq->vq); |
773 | __napi_schedule(napi); | 772 | __napi_schedule(napi); |
774 | goto again; | ||
775 | } | 773 | } |
776 | } | 774 | } |
777 | 775 | ||