[Spice-commits] server/red-channel-client-private.h server/red-channel-client.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Tue Nov 1 14:26:49 UTC 2016
server/red-channel-client-private.h | 1 -
server/red-channel-client.c | 1 -
2 files changed, 2 deletions(-)
New commits:
commit 5d88c28786e73c71c72f51f11771e4a7258dd17e
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Mon Oct 31 06:00:09 2016 +0000
red-channel-client: Remove only written field
id field of RedChannelClient is not used and marked as debugging.
Also it's value is quite confusing.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
diff --git a/server/red-channel-client-private.h b/server/red-channel-client-private.h
index e77cdf9..38759ff 100644
--- a/server/red-channel-client-private.h
+++ b/server/red-channel-client-private.h
@@ -87,7 +87,6 @@ struct RedChannelClientPrivate
} send_data;
int during_send;
- int id; // debugging purposes
GQueue pipe;
RedChannelCapabilities remote_caps;
diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index c562e8e..1981805 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -914,7 +914,6 @@ static gboolean red_channel_client_initable_init(GInitable *initable,
SPICE_WATCH_EVENT_READ,
red_channel_client_event,
self);
- self->priv->id = red_channel_get_n_clients(self->priv->channel);
red_channel_add_client(self->priv->channel, self);
red_client_add_channel(self->priv->client, self);
More information about the Spice-commits
mailing list