Optimize virtio_enqueue_trim() a bit by nuking unneeded
authorkrw <krw@openbsd.org>
Wed, 31 May 2017 08:10:24 +0000 (08:10 +0000)
committerkrw <krw@openbsd.org>
Wed, 31 May 2017 08:10:24 +0000 (08:10 +0000)
commitcf707a04dc7469fdb7a4037ad0e56f6c5a9295a0
treee54ab548b7cd9d163c667c7ed47e26f1a40de5f5
parent2208575303d5c268670d3b594ea64b9a7dc8251a
Optimize virtio_enqueue_trim() a bit by nuking unneeded
re-initializations of statically set fields. Move a common
chunk out of both clauses of if/else.

No intentional functional change.

ok sf@
sys/dev/pv/virtio.c