virtio_ring: mark vring_dma_dev inline
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 22:38:21 +0000 (00:38 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 22:40:08 +0000 (00:40 +0200)
commit75bfa81bf0897ba87f1e1b9b576a07536029b86a
tree2c751cbbefd17881f82a6cc7df451dff33ec59c4
parent678ff27d25c62e3a25fa069914182a8a6391e121
virtio_ring: mark vring_dma_dev inline

This inline function is unused on configurations
where dma_map/unmap are empty macros.

Make the function inline to avoid gcc errors because
of an unused static function.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c