Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 server/red-channel-client.c | 2 --
 server/red-channel-client.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index 0eed02b..4108be0 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -675,7 +675,6 @@ RedChannelClient *red_channel_client_create(int size, 
RedChannel *channel, RedCl
     }
 
     rcc->incoming.header.data = rcc->incoming.header_buf;
-    rcc->incoming.serial = 1;
 
     if (!channel->channel_cbs.config_socket(rcc)) {
         goto error;
@@ -742,7 +741,6 @@ RedChannelClient *red_channel_client_create_dummy(int size,
     }
 
     rcc->incoming.header.data = rcc->incoming.header_buf;
-    rcc->incoming.serial = 1;
     ring_init(&rcc->priv->pipe);
 
     rcc->priv->dummy = TRUE;
diff --git a/server/red-channel-client.h b/server/red-channel-client.h
index d2f7b3e..56e74f5 100644
--- a/server/red-channel-client.h
+++ b/server/red-channel-client.h
@@ -193,7 +193,6 @@ typedef struct IncomingHandler {
     uint32_t header_pos;
     uint8_t *msg; // data of the msg following the header. allocated by 
alloc_msg_buf.
     uint32_t msg_pos;
-    uint64_t serial;
 } IncomingHandler;
 
 struct RedChannelClient {
-- 
2.7.4

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

Reply via email to