[Spice-devel] [PATCH 05/10] worker: remove unused WORKER_TO_DCC macro

Fabiano FidĂȘncio fidencio at redhat.com
Thu Nov 5 14:00:05 PST 2015


On Thu, Nov 5, 2015 at 2:23 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> ---
>  server/red_worker.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 6522988..a089a25 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -567,12 +567,6 @@ static void display_channel_client_release_item_after_push(DisplayChannelClient
>      SAFE_FOREACH(link, next, drawable, &(drawable)->glz_ring, glz, LINK_TO_GLZ(link))
>
>
> -// TODO: replace with DCC_FOREACH when it is introduced
> -#define WORKER_TO_DCC(worker) \
> -    (worker->display_channel ? SPICE_CONTAINEROF(worker->display_channel->common.base.rcc,\
> -                       DisplayChannelClient, common.base) : NULL)
> -
> -
>  /* fixme: move to display channel */
>  DrawablePipeItem *drawable_pipe_item_new(DisplayChannelClient *dcc,
>                                           Drawable *drawable)
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Looks good to me. ACK!


More information about the Spice-devel mailing list