]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
vhost: Remove comments for hdr in vhost.h
authorAsias He <asias@redhat.com>
Mon, 6 May 2013 08:38:22 +0000 (16:38 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 May 2013 10:21:07 +0000 (13:21 +0300)
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>
drivers/vhost/vhost.h

index 08ebf58dfcf40c27f6e69d19e22736d59e7a9b28..ec72686a2797f9fe8ce94fc2c7e95e693a58d26d 100644 (file)
@@ -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.