[Spice-devel] [PATCH] Remove unused DCC_TO_WORKER macro
Frediano Ziglio
fziglio at redhat.com
Fri Jun 10 12:21:22 UTC 2016
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/dcc.h | 2 --
1 file changed, 2 deletions(-)
Not taking into account that worker field was removed
quite a while ago.
diff --git a/server/dcc.h b/server/dcc.h
index c6c9903..20f41e2 100644
--- a/server/dcc.h
+++ b/server/dcc.h
@@ -102,8 +102,6 @@ struct DisplayChannelClient {
bool gl_draw_ongoing;
};
-#define DCC_TO_WORKER(dcc) \
- (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonGraphicsChannel, base)->worker)
#define DCC_TO_DC(dcc) \
SPICE_CONTAINEROF((dcc)->common.base.channel, DisplayChannel, common.base)
#define RCC_TO_DCC(rcc) SPICE_CONTAINEROF((rcc), DisplayChannelClient, common.base)
--
2.7.4
More information about the Spice-devel
mailing list