virtio: avoid modulus operation.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:43 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:43 +0000 (15:44 +1030)
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found