virtio_rng: use simplified virtqueue accessors.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:14:29 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:15:03 +0000 (15:45 +1030)
commitfb6aa6fcfec29932122cb0fb2d5d1f7700a9883b
tree6833c13453826cd6aca8085ca2ff914784a134ac
parent9dc7b9e4d0a6daac5b1f29a338911d63d34533cd
virtio_rng: use simplified virtqueue accessors.

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

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Asias He <asias@redhat.com>
drivers/char/hw_random/virtio-rng.c