summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-05-06 10:38:22 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-05-06 12:21:07 +0200
commitab00c42a567b21024383db3fac98118497d6270b (patch)
treed92b745e4647b74546de50ffccea8f870a720b8a /drivers/vhost
parentvhost: Move VHOST_NET_FEATURES to net.c (diff)
downloadlinux-ab00c42a567b21024383db3fac98118497d6270b.tar.xz
linux-ab00c42a567b21024383db3fac98118497d6270b.zip
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>
Diffstat (limited to 'drivers/vhost')
-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 {
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.