]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20a3526e9597ee5625da6b1c286faf877617ad6e
tree2c751cbbefd17881f82a6cc7df451dff33ec59c4
parent34395001813e77f876ea9b2669cd4a20afe36cb1
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