From 80bb4d95a028ae1ed5119d3c53af68a0d59bf8cb Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 27 Aug 2010 09:21:04 +0200 Subject: zap more unused bits. BufDescriptor isn't used at all. Two AddBufInfo fields (slot_id and group_id) are not used any more. --- server/red_worker.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'server/red_worker.c') diff --git a/server/red_worker.c b/server/red_worker.c index ec9f6bbc..3efaa3e4 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; } } -- cgit