[PATCH v2] Remove unused fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These fields were added in a32e90257e834e340075e633132b52c612be4578
as part of the multiple client support and were never used.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/display-channel.h | 2 --
 server/red-worker.h      | 1 -
 2 files changed, 3 deletions(-)

Changes since v1:
- added comment (Jonathon)

diff --git a/server/display-channel.h b/server/display-channel.h
index 3da2b5f..36633d5 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -55,8 +55,6 @@ struct Drawable {
     RingItem list_link;
     DrawItem tree_item;
     GList *pipes;
-    RedPipeItem *pipe_item_rest;
-    uint32_t size_pipe_item_rest;
     RedDrawable *red_drawable;
 
     GlzImageRetention glz_retention;
diff --git a/server/red-worker.h b/server/red-worker.h
index a0a327a..7d68678 100644
--- a/server/red-worker.h
+++ b/server/red-worker.h
@@ -35,7 +35,6 @@ typedef struct CommonGraphicsChannel {
 
     QXLInstance *qxl;
     uint8_t recv_buf[CHANNEL_RECEIVE_BUF_SIZE];
-    uint32_t id_alloc; // bitfield. TODO - use this instead of shift scheme.
     int during_target_migrate; /* TRUE when the client that is associated with the channel
                                   is during migration. Turned off when the vm is started.
                                   The flag is used to avoid sending messages that are artifacts
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]