OSDN Git Service

vhost-vdpa: Make vhost_vdpa_get_device_id() static
authorZenghui Yu <yuzenghui@huawei.com>
Tue, 13 Apr 2021 13:37:37 +0000 (21:37 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 14 May 2021 14:26:18 +0000 (10:26 -0400)
commitc232b8f45375bbffe7c6941968309400a59a893c
tree77de12188a1536c709fd900f772f823bf726b8c5
parentb8893a3c862111fa1c530c4be6f7426e7f07bf1e
vhost-vdpa: Make vhost_vdpa_get_device_id() static

As it's only used inside hw/virtio/vhost-vdpa.c.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-Id: <20210413133737.1574-1-yuzenghui@huawei.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c
include/hw/virtio/vhost-vdpa.h