Skip to content

Commit

Permalink
vhost: Remove comments for hdr in vhost.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Asias He authored and Michael S. Tsirkin committed May 6, 2013
1 parent 8570a6e commit ab00c42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/vhost/vhost.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ab00c42

Please sign in to comment.