[Spice-devel] [PATCH 4/8] Remove only set serial field
Jonathon Jongsma
jjongsma at redhat.com
Wed Sep 21 08:44:00 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Mon, 2016-09-19 at 09:29 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at 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 {
More information about the Spice-devel
mailing list