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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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
-- 
2.20.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]