From: Michael S. Tsirkin Date: Thu, 23 Oct 2014 21:12:10 +0000 (+0300) Subject: virtio_net: pass vi around X-Git-Tag: omap-for-v3.20/drop-legacy-3517~126^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946fa5647b529402161814ca8ed1302254b6affb;p=pandora-kernel.git virtio_net: pass vi around 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 Reviewed-by: Cornelia Huck --- Reading git-diff-tree failed