virtio: simplify feature bit handling
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Oct 2014 14:57:30 +0000 (17:57 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:25 +0000 (12:05 +0200)
commitc102659d690d382171bd2e40f35c5c811f0cdcac
tree1aa9cae6de46700abd0bccb019a851a0c7bcbbb7
parentcb3f6d9da49929797f806b4e91ec005e6fc2e9c2
virtio: simplify feature bit handling

Now that we use u64 for bits, we can simply & them together.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/virtio/virtio.c