From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: [PATCH 1/4] vhost: Remove comments for hdr in vhost.h Date: Fri, 3 May 2013 14:25:15 +0800 Message-ID: <1367562318-11989-2-git-send-email-asias@redhat.com> References: <1367562318-11989-1-git-send-email-asias@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, target-devel@vger.kernel.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <1367562318-11989-1-git-send-email-asias@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: kvm.vger.kernel.org It is supposed to be removed when hdr is moved into vhost_net_virtqueue. Signed-off-by: Asias He --- drivers/vhost/vhost.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 6fefebf..f9045b4 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -101,9 +101,6 @@ struct vhost_virtqueue { u64 log_addr; struct iovec iov[UIO_MAXIOV]; - /* hdr is used to store the virtio header. - * Since each iovec has >= 1 byte length, we never need more than - * header length entries to store the header. */ struct iovec *indirect; struct vring_used_elem *heads; /* We use a kind of RCU to access private pointer. -- 1.8.1.4