]> git.proxmox.com Git - mirror_qemu.git/commitdiff
vhost: remove the dead code
authorJie Wang <wangjie88@huawei.com>
Tue, 30 Apr 2019 06:10:14 +0000 (14:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 29 May 2019 22:00:57 +0000 (18:00 -0400)
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>
hw/virtio/vhost.c

index 7f61018f2a3f8298040fd115baeaedbb4c4e09a2..2303a8c206fec84c07cdf61650ae13065a655d70 100644 (file)
@@ -1650,7 +1650,6 @@ fail_vq:
                              hdev->vqs + i,
                              hdev->vq_index + i);
     }
-    i = hdev->nvqs;
 
 fail_mem:
 fail_features: