virtio_ring: remove a level of indirection
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 12 Apr 2010 13:19:07 +0000 (16:19 +0300)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:43 +0000 (21:45 +0930)
commit7c5e9ed0c84e7d70d887878574590638d5572659
treec929c367c6854f021b787fa99fc56d37f64d9bc0
parent1915a712f210f0b63d10bc4f875e8e66aac7a2c4
virtio_ring: remove a level of indirection

We have a single virtqueue_ops implementation,
and it seems unlikely we'll get another one
at this point. So let's remove an unnecessary
level of indirection: it would be very easy to
re-add it if another implementation surfaces.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c
include/linux/virtio.h