virtio_net: pass vi around
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Oct 2014 21:12:10 +0000 (00:12 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:27 +0000 (12:05 +0200)
Too many places poke at [rs]q->vq->vdev->priv just to get
the vi structure.  Let's just pass the pointer around: seems
cleaner, and might even be faster.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/net/virtio_net.c

Simple merge