virtio-net: remove useless codes
commitbd89dd98b2b835bbff43f02f2e7c823eb0c61331
authorJason Wang <jasowang@redhat.com>
Mon, 3 Aug 2015 05:20:38 +0000 (3 13:20 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 13 Aug 2015 11:08:29 +0000 (13 14:08 +0300)
tree85e5ae7ef5c89024c348b8963355eac4eda10799
parente402463073ae51d00dc6cf98556e2f5c4b008a31
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>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h