[Spice-devel] [PATCH 08/18] worker: simplify handle_migrate_data functions

Fabiano Fidêncio fidencio at redhat.com
Mon Nov 23 09:51:23 PST 2015


On Mon, Nov 23, 2015 at 6:01 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> ---
>  server/red_worker.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 5d32f4f..47b6b82 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -4260,7 +4260,7 @@ static int display_channel_handle_migrate_mark(RedChannelClient *rcc)
>      return TRUE;
>  }
>
> -static uint64_t display_channel_handle_migrate_data_get_serial(RedChannelClient *rcc, uint32_t size, void *message)
> +static uint64_t handle_migrate_data_get_serial(RedChannelClient *rcc, uint32_t size, void *message)
>  {
>      SpiceMigrateDataDisplay *migrate_data;
>
> @@ -4269,7 +4269,7 @@ static uint64_t display_channel_handle_migrate_data_get_serial(RedChannelClient
>      return migrate_data->message_serial;
>  }
>
> -static int display_channel_handle_migrate_data(RedChannelClient *rcc, uint32_t size, void *message)
> +static int handle_migrate_data(RedChannelClient *rcc, uint32_t size, void *message)
>  {
>      return dcc_handle_migrate_data(RCC_TO_DCC(rcc), size, message);
>  }
> @@ -4599,8 +4599,8 @@ static void display_channel_create(RedWorker *worker, int migrate, int stream_vi
>          .hold_item = display_channel_hold_pipe_item,
>          .release_item = display_channel_release_item,
>          .handle_migrate_flush_mark = display_channel_handle_migrate_mark,
> -        .handle_migrate_data = display_channel_handle_migrate_data,
> -        .handle_migrate_data_get_serial = display_channel_handle_migrate_data_get_serial
> +        .handle_migrate_data = handle_migrate_data,
> +        .handle_migrate_data_get_serial = handle_migrate_data_get_serial
>      };
>
>      spice_return_if_fail(num_renderers > 0);
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Acked-by: Fabiano Fidêncio <fidencio at redhat.com>


More information about the Spice-devel mailing list