[Spice-devel] [PATCH 3/4] Remove unused macro definitions
Frediano Ziglio
fziglio at redhat.com
Tue May 24 14:55:20 UTC 2016
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
--
2.7.4
More information about the Spice-devel
mailing list