diff options
author | Zenghui Yu <yuzenghui@huawei.com> | 2021-04-13 21:37:37 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-05-14 10:26:18 -0400 |
commit | c232b8f45375bbffe7c6941968309400a59a893c (patch) | |
tree | 77de12188a1536c709fd900f772f823bf726b8c5 /include/hw | |
parent | b8893a3c862111fa1c530c4be6f7426e7f07bf1e (diff) | |
download | qemu-c232b8f45375bbffe7c6941968309400a59a893c.zip qemu-c232b8f45375bbffe7c6941968309400a59a893c.tar.gz qemu-c232b8f45375bbffe7c6941968309400a59a893c.tar.bz2 |
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/virtio/vhost-vdpa.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/virtio/vhost-vdpa.h b/include/hw/virtio/vhost-vdpa.h index 9b81a40..28ca650 100644 --- a/include/hw/virtio/vhost-vdpa.h +++ b/include/hw/virtio/vhost-vdpa.h @@ -22,6 +22,4 @@ typedef struct vhost_vdpa { } VhostVDPA; extern AddressSpace address_space_memory; -extern int vhost_vdpa_get_device_id(struct vhost_dev *dev, - uint32_t *device_id); #endif |