[Spice-devel] [PATCH spice-server 08/13] cache-item: Remove unused define

Frediano Ziglio fziglio at redhat.com
Wed Jun 12 05:56:28 UTC 2019


ping

> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/cache-item.tmpl.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/server/cache-item.tmpl.c b/server/cache-item.tmpl.c
> index 6968d20db..f9418f990 100644
> --- a/server/cache-item.tmpl.c
> +++ b/server/cache-item.tmpl.c
> @@ -24,7 +24,6 @@
>  #define CACHE_HASH_SIZE CURSOR_CACHE_HASH_SIZE
>  #define FUNC_NAME(name) red_cursor_cache_##name
>  #define VAR_NAME(name) cursor_cache_##name
> -#define CHANNEL CursorChannel
>  #define CHANNELCLIENT CursorChannelClient
>  
>  #elif defined(CLIENT_PALETTE_CACHE)
> @@ -34,7 +33,6 @@
>  #define CACHE_HASH_SIZE PALETTE_CACHE_HASH_SIZE
>  #define FUNC_NAME(name) red_palette_cache_##name
>  #define VAR_NAME(name) palette_cache_##name
> -#define CHANNEL DisplayChannel
>  #define CHANNELCLIENT DisplayChannelClient
>  #else
>  
> @@ -126,5 +124,4 @@ static void FUNC_NAME(reset)(CHANNELCLIENT
> *channel_client, long size)
>  #undef CACHE_HASH_SIZE
>  #undef FUNC_NAME
>  #undef VAR_NAME
> -#undef CHANNEL
>  #undef CHANNELCLIENT



More information about the Spice-devel mailing list