From: Michael S. Tsirkin Date: Wed, 2 Dec 2015 11:50:00 +0000 (+0200) Subject: vhost: drop dead code X-Git-Tag: v2.7.1~712^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b0ae1536c5248bc5f0f4472b8020a7a9d2ef9293;p=mirror_qemu.git 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 Reviewed-by: Yuanhan Liu --- diff --git a/include/hw/virtio/vhost.h b/include/hw/virtio/vhost.h index 7437fd476a..b60d7585b4 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);