[Spice-commits] server/dcc.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Jun 10 12:36:20 UTC 2016


 server/dcc.h |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6e29efadbc3b5f3cc7da2d33d0a8a28c53a35cdf
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Fri Jun 10 13:20:20 2016 +0100

    Remove unused DCC_TO_WORKER macro
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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)


More information about the Spice-commits mailing list