From: Sahid Orentino Ferdjaoui <sferdjao@redhat.com>
To: weiqi <weiqi4@huawei.com>
Cc: mst@redhat.com, arei.gonglei@huawei.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] vhost: simple clean up
Date: Fri, 7 Apr 2017 10:38:49 +0200 [thread overview]
Message-ID: <20170407083849.GA26482@redhat> (raw)
In-Reply-To: <1491548326-60072-1-git-send-email-weiqi4@huawei.com>
On Fri, Apr 07, 2017 at 02:58:46PM +0800, weiqi wrote:
> From: Wei Qi <weiqi4@huawei.com>
>
> 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
>
> Signed-off-by: Wei Qi <weiqi4@huawei.com>
> ---
> hw/virtio/vhost.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-By: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
>
> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
> index 613494d..5c57983 100644
> --- a/hw/virtio/vhost.c
> +++ b/hw/virtio/vhost.c
> @@ -1557,7 +1557,6 @@ fail_vq:
> hdev->vqs + i,
> hdev->vq_index + i);
> }
> - i = hdev->nvqs;
>
> fail_mem:
> fail_features:
> --
> 1.8.3.1
>
>
next prev parent reply other threads:[~2017-04-07 8:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 6:58 [Qemu-devel] [PATCH 1/3] vhost: simple clean up weiqi
2017-04-07 8:38 ` Sahid Orentino Ferdjaoui [this message]
2017-04-07 13:51 ` Eric Blake
2017-04-07 14:47 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170407083849.GA26482@redhat \
--to=sferdjao@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=weiqi4@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).