diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-27 09:21:04 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-27 09:21:04 +0200 |
commit | 80bb4d95a028ae1ed5119d3c53af68a0d59bf8cb (patch) | |
tree | 97b2c562df0856fc451616cc5f0a1d7550ec5b73 | |
parent | 36a81133807e057e065c5f42383239e2f078312c (diff) |
zap more unused bits.
BufDescriptor isn't used at all.
Two AddBufInfo fields (slot_id and group_id) are not used any more.
-rw-r--r-- | server/red_worker.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index ec9f6bb..3efaa3e 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -224,14 +224,6 @@ enum { BUF_TYPE_RAW = 1, }; -typedef struct BufDescriptor { - uint32_t type; - uint32_t size; - uint8_t *data; - uint32_t slot_id; - uint32_t group_id; -} BufDescriptor; - enum { PIPE_ITEM_TYPE_DRAW, PIPE_ITEM_TYPE_INVAL_ONE, @@ -4492,8 +4484,6 @@ typedef struct { uint32_t type; void *data; uint32_t size; - uint32_t slot_id; - uint32_t group_id; } AddBufInfo; static void marshaller_add_compressed(RedWorker *worker, SpiceMarshaller *m, @@ -5994,8 +5984,6 @@ static void fill_cursor(CursorChannel *cursor_channel, SpiceCursor *red_cursor, addbuf->type = BUF_TYPE_RAW; addbuf->data = red_cursor->data; addbuf->size = red_cursor->data_size; - addbuf->slot_id = 0; - addbuf->group_id = 0; } } else { LocalCursor *local_cursor; @@ -6005,8 +5993,6 @@ static void fill_cursor(CursorChannel *cursor_channel, SpiceCursor *red_cursor, addbuf->type = BUF_TYPE_RAW; addbuf->data = local_cursor->red_cursor.data; addbuf->size = local_cursor->data_size; - addbuf->slot_id = 0; - addbuf->group_id = 0; } } |