[Spice-devel] [PATCH] Remove unused DCC_TO_WORKER macro

Christophe Fergeau cfergeau at redhat.com
Fri Jun 10 12:34:30 UTC 2016


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Fri, Jun 10, 2016 at 01:21:22PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/dcc.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> Not taking into account that worker field was removed
> quite a while ago.
> 
> diff --git a/server/dcc.h b/server/dcc.h
> index c6c9903..20f41e2 100644
> --- a/server/dcc.h
> +++ b/server/dcc.h
> @@ -102,8 +102,6 @@ struct DisplayChannelClient {
>      bool gl_draw_ongoing;
>  };
>  
> -#define DCC_TO_WORKER(dcc)                                              \
> -    (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonGraphicsChannel, base)->worker)
>  #define DCC_TO_DC(dcc)                                                  \
>       SPICE_CONTAINEROF((dcc)->common.base.channel, DisplayChannel, common.base)
>  #define RCC_TO_DCC(rcc) SPICE_CONTAINEROF((rcc), DisplayChannelClient, common.base)
> -- 
> 2.7.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160610/86c41ae3/attachment.sig>


More information about the Spice-devel mailing list