[Spice-devel] [PATCH v2 8/9] worker: remove empty statement at line end

Pavel Grunt pgrunt at redhat.com
Tue Jan 26 02:40:45 PST 2016


On Tue, 2016-01-26 at 09:44 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
>  server/red-worker.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/red-worker.c b/server/red-worker.c
> index 5eb54f2..a5822a4 100644
> --- a/server/red-worker.c
> +++ b/server/red-worker.c
> @@ -232,7 +232,7 @@ static int red_process_display(RedWorker *worker,
> int *ring_is_empty)
>      *ring_is_empty = FALSE;
>      while (red_channel_max_pipe_size(RED_CHANNEL(worker-
> >display_channel)) <= MAX_PIPE_SIZE) {
>          if (!worker->qxl->st->qif->get_command(worker->qxl,
> &ext_cmd)) {
> -            *ring_is_empty = TRUE;;
> +            *ring_is_empty = TRUE;
>              if (worker->display_poll_tries < CMD_RING_POLL_RETRIES)
> {
>                  worker->display_poll_tries++;
>                  worker->event_timeout = MIN(worker->event_timeout,
> CMD_RING_POLL_TIMEOUT);


More information about the Spice-devel mailing list