diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-04-28 15:51:40 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-05-01 10:02:53 +0300 |
commit | 81f95a55802be669b3191b2828c34006d0f04214 (patch) | |
tree | a13e1b13c962f738c53d15411d9b4ab1584dfdae /drivers/vhost/vhost.c | |
parent | 3dfbff328f0491b7049673cf7fd568d26a14fc4d (diff) |
vhost: move per-vq net specific fields out to net
This will remove the need for vhost scsi to pull
in virtio-net.h.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r-- | drivers/vhost/vhost.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 6644812e99b..6dcd81c8743 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -179,8 +179,6 @@ static void vhost_vq_reset(struct vhost_dev *dev, vq->used_flags = 0; vq->log_used = false; vq->log_addr = -1ull; - vq->vhost_hlen = 0; - vq->sock_hlen = 0; vq->private_data = NULL; vq->log_base = NULL; vq->error_ctx = NULL; |