aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-05-06 04:38:22 -0400
committerMichael S. Tsirkin <mst@redhat.com>2013-05-06 06:21:07 -0400
commitab00c42a567b21024383db3fac98118497d6270b (patch)
treed92b745e4647b74546de50ffccea8f870a720b8a
parent8570a6e72c5bfb1aee8225b8c4814cdc28417a20 (diff)
vhost: Remove comments for hdr in vhost.h
It is supposed to be removed when hdr is moved into vhost_net_virtqueue. Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--drivers/vhost/vhost.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 08ebf58dfcf4..ec72686a2797 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -99,9 +99,6 @@ struct vhost_virtqueue {
99 u64 log_addr; 99 u64 log_addr;
100 100
101 struct iovec iov[UIO_MAXIOV]; 101 struct iovec iov[UIO_MAXIOV];
102 /* hdr is used to store the virtio header.
103 * Since each iovec has >= 1 byte length, we never need more than
104 * header length entries to store the header. */
105 struct iovec *indirect; 102 struct iovec *indirect;
106 struct vring_used_elem *heads; 103 struct vring_used_elem *heads;
107 /* We use a kind of RCU to access private pointer. 104 /* We use a kind of RCU to access private pointer.