Remove only set serial field

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-09-18 07:08:30 +01:00
parent 9481af181d
commit 30184bb7fb
2 changed files with 0 additions and 3 deletions

View File

@ -674,7 +674,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;
@ -740,7 +739,6 @@ RedChannelClient *red_channel_client_create_dummy(int size,
}
rcc->incoming.header.data = rcc->incoming.header_buf;
rcc->incoming.serial = 1;
g_queue_init(&rcc->priv->pipe);
rcc->priv->dummy = TRUE;

View File

@ -195,7 +195,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 {