]> 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)
commit346db4b0773b20009fc45b6318a7147d2a8499c5
tree2c751cbbefd17881f82a6cc7df451dff33ec59c4
parent03270c34e365c9b4d8f303ff1d0c55ba6a505828
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