mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-02-01 17:51:49 +00:00
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@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
c7f492b75c
commit
5d88c28786
@ -87,7 +87,6 @@ struct RedChannelClientPrivate
|
||||
} send_data;
|
||||
|
||||
int during_send;
|
||||
int id; // debugging purposes
|
||||
GQueue pipe;
|
||||
|
||||
RedChannelCapabilities remote_caps;
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user