[Spice-devel] [PATCH spice-server 08/13] cache-item: Remove unused define
Victor Toso
victortoso at redhat.com
Fri Aug 2 09:47:45 UTC 2019
Hi,
On Thu, May 30, 2019 at 03:22:49PM +0100, Frediano Ziglio wrote:
A good verbose detective would say "Since commit x1y2z3", but
happy to have it as is too ;)
> 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
Acked-by: Victor Toso <victortoso at redhat.com>
> #undef CHANNELCLIENT
> --
> 2.20.1
>
> _______________________________________________
> 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: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190802/dcf92b4b/attachment-0001.sig>
More information about the Spice-devel
mailing list