summary refs log tree commit diff stats
path: root/include/hw/virtio/virtio-net.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-08-03 13:20:38 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-08-13 14:08:29 +0300
commitbd89dd98b2b835bbff43f02f2e7c823eb0c61331 (patch)
tree85e5ae7ef5c89024c348b8963355eac4eda10799 /include/hw/virtio/virtio-net.h
parente402463073ae51d00dc6cf98556e2f5c4b008a31 (diff)
downloadfocaccia-qemu-bd89dd98b2b835bbff43f02f2e7c823eb0c61331.tar.gz
focaccia-qemu-bd89dd98b2b835bbff43f02f2e7c823eb0c61331.zip
virtio-net: remove useless codes
After commit 40bad8f3deba15e2074ff34cfe923c12916b1cc5("virtio-net: fix
used len for tx"), async_tx.len was no longer used afterwards. So
remove useless codes with it.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
-rw-r--r--include/hw/virtio/virtio-net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index 60b11d5c2c..f3cc25feca 100644
--- a/include/hw/virtio/virtio-net.h
+++ b/include/hw/virtio/virtio-net.h
@@ -48,7 +48,6 @@ typedef struct VirtIONetQueue {
     int tx_waiting;
     struct {
         VirtQueueElement elem;
-        ssize_t len;
     } async_tx;
     struct VirtIONet *n;
 } VirtIONetQueue;