From: Jie Wang Date: Tue, 30 Apr 2019 06:10:14 +0000 (+0800) Subject: vhost: remove the dead code X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c39eb88da17616f8cdb3260c3b701609dc5c790c;p=qemu.git vhost: remove the dead code remove the dead code Signed-off-by: Jie Wang Message-Id: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Stefan Hajnoczi --- diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index 7f61018f2a..2303a8c206 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: