[Spice-devel] [spice-server 07/10] Remove RedGlzDrawable::group_id

Christophe Fergeau cfergeau at redhat.com
Fri Feb 12 17:51:06 UTC 2016


It's unused.
---
 server/dcc-encoders.h | 1 -
 server/dcc.c          | 1 -
 2 files changed, 2 deletions(-)

diff --git a/server/dcc-encoders.h b/server/dcc-encoders.h
index a244c94..1cfc4f7 100644
--- a/server/dcc-encoders.h
+++ b/server/dcc-encoders.h
@@ -156,7 +156,6 @@ struct RedGlzDrawable {
     RingItem drawable_link;
     RedDrawable *red_drawable;
     Drawable    *drawable;
-    uint32_t     group_id;
     GlzDrawableInstanceItem instances_pool[MAX_GLZ_DRAWABLE_INSTANCES];
     Ring instances;
     uint8_t instances_count;
diff --git a/server/dcc.c b/server/dcc.c
index abf3c0d..9a4e90c 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -657,7 +657,6 @@ static RedGlzDrawable *get_glz_drawable(DisplayChannelClient *dcc, Drawable *dra
     ret->dcc = dcc;
     ret->red_drawable = red_drawable_ref(drawable->red_drawable);
     ret->drawable = drawable;
-    ret->group_id = drawable->red_drawable->release_info_ext.group_id;
     ret->instances_count = 0;
     ring_init(&ret->instances);
 
-- 
2.5.0



More information about the Spice-devel mailing list