[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vhost: drop dead code
From: |
Yuanhan Liu |
Subject: |
Re: [Qemu-devel] [PATCH] vhost: drop dead code |
Date: |
Wed, 2 Dec 2015 21:12:36 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Dec 02, 2015 at 01:50:35PM +0200, Michael S. Tsirkin wrote:
> We dropped the implementation of vhost_dev_query,
> drop it from the header file as well.
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Yuanhan Liu <address@hidden>
--yliu
> ---
> include/hw/virtio/vhost.h | 1 -
> 1 file changed, 1 deletion(-)
>
> 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);
> --
> MST