summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-12-02 13:50:00 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-12-02 17:59:13 +0200
commitb0ae1536c5248bc5f0f4472b8020a7a9d2ef9293 (patch)
treeba78d2391ec669d1d5978a2c27f76435a621f0c7
parent6f6f9512ea915009abeb6a4c5f204d4c25f090e0 (diff)
downloadhqemu-b0ae1536c5248bc5f0f4472b8020a7a9d2ef9293.zip
hqemu-b0ae1536c5248bc5f0f4472b8020a7a9d2ef9293.tar.gz
vhost: drop dead code
commit 1e7398a1 ("vhost: enable vhost without without MSI-X"_ dropped the implementation of vhost_dev_query, drop it from the header file as well. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
-rw-r--r--include/hw/virtio/vhost.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/vhost.h b/include/hw/virtio/vhost.h
index 7437fd4..b60d758 100644
--- a/include/hw/virtio/vhost.h
+++ b/include/hw/virtio/vhost.h
@@ -66,7 +66,6 @@ struct vhost_dev {
int vhost_dev_init(struct vhost_dev *hdev, void *opaque,
VhostBackendType backend_type);
void vhost_dev_cleanup(struct vhost_dev *hdev);
-bool vhost_dev_query(struct vhost_dev *hdev, VirtIODevice *vdev);
int vhost_dev_start(struct vhost_dev *hdev, VirtIODevice *vdev);
void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev);
int vhost_dev_enable_notifiers(struct vhost_dev *hdev, VirtIODevice *vdev);
OpenPOWER on IntegriCloud