virtio_net: use simplified virtqueue accessors.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:14:28 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:15:02 +0000 (15:45 +1030)
commit9dc7b9e4d0a6daac5b1f29a338911d63d34533cd
tree335ff79f91d58fbe289263be42f6b010e0bb3509
parentf7bc9594513d8f5a6e88e1486d48687ce5831834
virtio_net: use simplified virtqueue accessors.

We never add buffers with input and output parts, so use the new accessors.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Reviewed-by: Asias He <asias@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c