virtio-blk: make some functions static
commitd14dde5ec7a38df2e00a6f1b58e96ba38359dbb0
authorGreg Kurz <groug@kaod.org>
Fri, 30 Sep 2016 15:12:50 +0000 (30 17:12 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2016 22:16:58 +0000 (10 01:16 +0300)
treeb9efe6cdd76ce6c46882096e09be404138aed574
parente8582891cb10d30e83dd91821e8752098b0b1138
virtio-blk: make some functions static

Some functions that were called from the dataplane code are now only used
locally:

virtio_blk_init_request()
virtio_blk_handle_request()
virtio_blk_submit_multireq()

since commit "03de2f527499 virtio-blk: do not use vring in dataplane", and

virtio_blk_free_request()

since commit "6aa46d8ff1ee virtio: move VirtQueueElement at the beginning
of the structs".

This patch converts them to static.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h