diff options
author | Jie Wang <wangjie88@huawei.com> | 2019-04-30 14:10:14 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-05-29 18:00:57 -0400 |
commit | c39eb88da17616f8cdb3260c3b701609dc5c790c (patch) | |
tree | 6d5b2aa7137c07507b98a099bcd1e04c907a1355 /hw/virtio | |
parent | 3fdbd1d70159157f6223f545cd462580254b7e5c (diff) |
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/virtio')
-rw-r--r-- | hw/virtio/vhost.c | 1 |
1 files changed, 0 insertions, 1 deletions
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: |