vhost: simple clean up
PATCH 1/3 vhost: simple clean up
From: Wei Qi <[email protected]>
It is unnecessary to assign 'hdev->nvqs' to 'i', because 'hdev->nvqs' unused after assignment, so remove it.
--- hw/virtio/vhost.c | 1 - 1 file changed, 1 deletion(-)
hw/virtio/vhost.c +0 -1
@@ -1557,7 +1557,6 @@ fail_vq: hdev->vqs + i, hdev->vq_index + i); } - i = hdev->nvqs; fail_mem: fail_features:
Signature · 1 line
1.8.3.1
Quoted 3 lines · weiqi
From: Wei Qi <[email protected]>
It is unnecessary to assign '
hdev->nvqs' to 'i', because 'hdev->nvqs' unused after assignment, so remove it.
nit: The line should not be longer than 76 characters [0].
[0] http://wiki.qemu-project.org/Contribute/SubmitAPatch#Write_a_meaningful_commit_message
Quoted 5 lines
Signed-off-by Wei Qi <[email protected]>--- hw/virtio/vhost.c | 1 - 1 file changed, 1 deletion(-)
Quoted 17 lines
hw/virtio/vhost.c +0
-1@@ -1557,7 +1557,6 @@ fail_vq: hdev->vqs + i, hdev->vq_index + i); } - i = hdev->nvqs; fail_mem: fail_features:Signature · 1 line
1.8.3.1
Quoted 8 lines · Sahid Orentino Ferdjaoui
Quoted 3 lines · weiqi
From: Wei Qi <[email protected]>
It is unnecessary to assign '
hdev->nvqs' to 'i', because 'hdev->nvqs' unused after assignment, so remove it.nit: The line should not be longer than 76 characters [0].
[0] http://wiki.qemu-project.org/Contribute/SubmitAPatch#Write_a_meaningful_commit_message
Also, make sure you have proper threading. Although you sent a 0/3 cover letter (with Message-ID:
<[email protected]>), this 1/3 message is lacking both References: and In-Reply-To: headers, and therefore appears as its own top level thread.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 8 lines · weiqi
From: Wei Qi <[email protected]>
It is unnecessary to assign '
hdev->nvqs' to 'i', because 'hdev->nvqs' unused after assignment, so remove it.Signed-off-by Wei Qi <[email protected]>--- hw/virtio/vhost.c | 1 - 1 file changed, 1 deletion(-)