OSDN Git Service

vhost: drop dead code
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Dec 2015 11:50:00 +0000 (13:50 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Dec 2015 15:59:13 +0000 (17:59 +0200)
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>
include/hw/virtio/vhost.h

index 7437fd4..b60d758 100644 (file)
@@ -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);