From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a47DL-000112-CJ for qemu-devel@nongnu.org; Wed, 02 Dec 2015 08:12:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a47DI-00012W-6f for qemu-devel@nongnu.org; Wed, 02 Dec 2015 08:12:55 -0500 Received: from mga01.intel.com ([192.55.52.88]:28748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a47DI-00012N-0X for qemu-devel@nongnu.org; Wed, 02 Dec 2015 08:12:52 -0500 Date: Wed, 2 Dec 2015 21:12:36 +0800 From: Yuanhan Liu Message-ID: <20151202131236.GQ2325@yliu-dev.sh.intel.com> References: <1449057029-31776-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1449057029-31776-1-git-send-email-mst@redhat.com> 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" Cc: =?us-ascii?B?PT9VVEYtOD9xP01hcmMtQW5kcj1DMz1BOT0yMEx1cmVhdT89?= , Jason Wang , Michael Tokarev , qemu-devel@nongnu.org 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 Reviewed-by: Yuanhan Liu --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