From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4fox-0002xs-PF for qemu-devel@nongnu.org; Thu, 03 Dec 2015 21:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4fou-0005Qe-KM for qemu-devel@nongnu.org; Thu, 03 Dec 2015 21:10:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4fou-0005QT-FK for qemu-devel@nongnu.org; Thu, 03 Dec 2015 21:10:00 -0500 References: <1449057029-31776-1-git-send-email-mst@redhat.com> From: Jason Wang Message-ID: <5660F5ED.2080804@redhat.com> Date: Fri, 4 Dec 2015 10:09:49 +0800 MIME-Version: 1.0 In-Reply-To: <1449057029-31776-1-git-send-email-mst@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vhost: drop dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Yuanhan Liu , Michael Tokarev On 12/02/2015 07:50 PM, 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 > --- > 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); Acked-by: Jason Wang