[Spice-devel] [PATCH 3/4] Remove unused macro definitions

Jonathon Jongsma jjongsma at redhat.com
Tue May 24 20:04:52 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

On Tue, 2016-05-24 at 15:55 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/cache-item.tmpl.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/server/cache-item.tmpl.c b/server/cache-item.tmpl.c
> index 9a9181c..2e6f5ca 100644
> --- a/server/cache-item.tmpl.c
> +++ b/server/cache-item.tmpl.c
> @@ -44,8 +44,6 @@
>  
>  #endif
>  
> -#define CHANNEL_FROM_RCC(rcc) SPICE_CONTAINEROF((rcc)->channel, CHANNEL,
> common.base);
> -
>  static RedCacheItem *FUNC_NAME(find)(CHANNELCLIENT *channel_client, uint64_t
> id)
>  {
>      RedCacheItem *item = channel_client->CACHE_NAME[CACHE_HASH_KEY(id)];
> @@ -131,9 +129,7 @@ static void FUNC_NAME(reset)(CHANNELCLIENT
> *channel_client, long size)
>  #undef CACHE_NAME
>  #undef CACHE_HASH_KEY
>  #undef CACHE_HASH_SIZE
> -#undef CACHE_MAX_CLIENT_SIZE
>  #undef FUNC_NAME
>  #undef VAR_NAME
>  #undef CHANNEL
>  #undef CHANNELCLIENT
> -#undef CHANNEL_FROM_RCC


More information about the Spice-devel mailing list