[Spice-devel] [PATCH 05/10] worker: remove unused WORKER_TO_DCC macro
Frediano Ziglio
fziglio at redhat.com
Thu Nov 5 05:23:08 PST 2015
From: Marc-André Lureau <marcandre.lureau at gmail.com>
---
server/red_worker.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/server/red_worker.c b/server/red_worker.c
index 6522988..a089a25 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -567,12 +567,6 @@ static void display_channel_client_release_item_after_push(DisplayChannelClient
SAFE_FOREACH(link, next, drawable, &(drawable)->glz_ring, glz, LINK_TO_GLZ(link))
-// TODO: replace with DCC_FOREACH when it is introduced
-#define WORKER_TO_DCC(worker) \
- (worker->display_channel ? SPICE_CONTAINEROF(worker->display_channel->common.base.rcc,\
- DisplayChannelClient, common.base) : NULL)
-
-
/* fixme: move to display channel */
DrawablePipeItem *drawable_pipe_item_new(DisplayChannelClient *dcc,
Drawable *drawable)
--
2.4.3
More information about the Spice-devel
mailing list