aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJie Wang <wangjie88@huawei.com>2019-04-30 14:10:14 +0800
committerMichael S. Tsirkin <mst@redhat.com>2019-05-29 18:00:57 -0400
commitc39eb88da17616f8cdb3260c3b701609dc5c790c (patch)
tree6d5b2aa7137c07507b98a099bcd1e04c907a1355 /hw
parent3fdbd1d70159157f6223f545cd462580254b7e5c (diff)
downloadqemu-c39eb88da17616f8cdb3260c3b701609dc5c790c.zip
qemu-c39eb88da17616f8cdb3260c3b701609dc5c790c.tar.gz
qemu-c39eb88da17616f8cdb3260c3b701609dc5c790c.tar.bz2
vhost: remove the dead code
remove the dead code Signed-off-by: Jie Wang <wangjie88@huawei.com> Message-Id: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio/vhost.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 7f61018..2303a8c 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
@@ -1650,7 +1650,6 @@ fail_vq:
hdev->vqs + i,
hdev->vq_index + i);
}
- i = hdev->nvqs;
fail_mem:
fail_features: