[Qemu-devel] [PATCH] vhost: remove the dead code

Jie Wang posted 1 patch 6 years, 6 months ago
Test asan passed
Test docker-clang@ubuntu failed
Test docker-mingw@fedora failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1556604614-32081-1-git-send-email-wangjie88@huawei.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
hw/virtio/vhost.c | 1 -
1 file changed, 1 deletion(-)
[Qemu-devel] [PATCH] vhost: remove the dead code
Posted by Jie Wang 6 years, 6 months ago
remove the dead code

Signed-off-by: Jie Wang <wangjie88@huawei.com>
---
 hw/virtio/vhost.c | 1 -
 1 file changed, 1 deletion(-)

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:
-- 
2.16.2.windows.1


Re: [Qemu-devel] [PATCH] vhost: remove the dead code
Posted by Stefan Hajnoczi 6 years, 6 months ago
On Tue, Apr 30, 2019 at 02:10:14PM +0800, Jie Wang wrote:
> remove the dead code
> 
> Signed-off-by: Jie Wang <wangjie88@huawei.com>
> ---
>  hw/virtio/vhost.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[Qemu-devel] Ping Re: [PATCH] vhost: remove the dead code
Posted by Jie Wang 6 years, 5 months ago
On 2019/5/2 0:38, Stefan Hajnoczi wrote:
> On Tue, Apr 30, 2019 at 02:10:14PM +0800, Jie Wang wrote:
>> remove the dead code
>>
>> Signed-off-by: Jie Wang <wangjie88@huawei.com>
>> ---
>>  hw/virtio/vhost.c | 1 -
>>  1 file changed, 1 deletion(-)
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>