[Spice-devel] [PATCH 08/11] ccc: remove unused field

Frediano Ziglio fziglio at redhat.com
Tue Feb 9 10:27:57 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/red-worker.c | 1 -
 server/red-worker.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/server/red-worker.c b/server/red-worker.c
index 5d6512f..3bb8227 100644
--- a/server/red-worker.c
+++ b/server/red-worker.c
@@ -469,7 +469,6 @@ CommonChannelClient *common_channel_new_client(CommonChannel *common,
         return NULL;
     }
     CommonChannelClient *common_cc = (CommonChannelClient*)rcc;
-    common_cc->worker = common->worker;
     common_cc->id = common->worker->qxl->id;
     common->during_target_migrate = mig_target;
 
diff --git a/server/red-worker.h b/server/red-worker.h
index f14a553..005c15f 100644
--- a/server/red-worker.h
+++ b/server/red-worker.h
@@ -28,7 +28,6 @@ typedef struct CommonChannelClient {
     RedChannelClient base;
 
     uint32_t id;
-    RedWorker *worker;
     int is_low_bandwidth;
 } CommonChannelClient;
 
-- 
2.5.0



More information about the Spice-devel mailing list