Hi

On Thu, Aug 20, 2015 at 6:28 AM, Yuanhan Liu
<yuanhan....@linux.intel.com> wrote:
> We won't reference var 'i' anymore; there is no need to assign a value
> to it.
>
> cc: Michael S. Tsirkin <m...@redhat.com>
> Signed-off-by: Yuanhan Liu <yuanhan....@linux.intel.com>
> ---
>  hw/virtio/vhost.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
> index 2712c6f..86ea26f 100644
> --- a/hw/virtio/vhost.c
> +++ b/hw/virtio/vhost.c
> @@ -1158,7 +1158,6 @@ fail_vq:
>                               hdev->vqs + i,
>                               hdev->vq_index + i);
>      }
> -    i = hdev->nvqs;
>  fail_mem:
>  fail_features:
>

Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>






-- 
Marc-André Lureau

Reply via email to