Skip to content
Snippets Groups Projects
Commit 3b720b8c authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: avoid modulus operation.


Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 41f0377f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment