From de1ab756b0b87cab9f83bb0068768c507fc209c6 Mon Sep 17 00:00:00 2001 From: Marc-AndrĂ© Lureau Date: Thu, 5 Nov 2015 11:27:00 +0000 Subject: worker: remove unused WORKER_TO_DCC macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Fabiano FidĂȘncio --- server/red_worker.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/red_worker.c') diff --git a/server/red_worker.c b/server/red_worker.c index 89045682..0788eeae 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -569,12 +569,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) -- cgit