mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
Remove unused "monitor_latency" arguments
InputsChannelClient::new and SmartcardChannelClient::new both accept a "monitor_latency" argument, which is always FALSE. It can be removed. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
3377feef5a
commit
db9dcd944a
@ -83,7 +83,6 @@ inputs_channel_client_init(InputsChannelClient *self)
|
||||
RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
||||
RedClient *client,
|
||||
RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps)
|
||||
{
|
||||
RedChannelClient *rcc;
|
||||
@ -93,7 +92,6 @@ RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
||||
"channel", channel,
|
||||
"client", client,
|
||||
"stream", stream,
|
||||
"monitor-latency", monitor_latency,
|
||||
"caps", caps,
|
||||
NULL);
|
||||
|
||||
|
||||
@ -59,7 +59,6 @@ GType inputs_channel_client_get_type(void) G_GNUC_CONST;
|
||||
RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
||||
RedClient *client,
|
||||
RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps);
|
||||
|
||||
uint16_t inputs_channel_client_get_motion_count(InputsChannelClient* self);
|
||||
|
||||
@ -463,7 +463,7 @@ static void inputs_connect(RedChannel *channel, RedClient *client,
|
||||
}
|
||||
|
||||
spice_printerr("inputs channel client create");
|
||||
rcc = inputs_channel_client_create(channel, client, stream, FALSE, caps);
|
||||
rcc = inputs_channel_client_create(channel, client, stream, caps);
|
||||
if (!rcc) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -106,7 +106,6 @@ smart_card_channel_client_init(SmartCardChannelClient *self)
|
||||
|
||||
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
||||
RedClient *client, RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps)
|
||||
{
|
||||
SmartCardChannelClient *rcc;
|
||||
@ -116,7 +115,6 @@ SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
||||
"channel", channel,
|
||||
"client", client,
|
||||
"stream", stream,
|
||||
"monitor-latency", monitor_latency,
|
||||
"caps", caps,
|
||||
NULL);
|
||||
|
||||
|
||||
@ -57,7 +57,6 @@ GType smart_card_channel_client_get_type(void) G_GNUC_CONST;
|
||||
|
||||
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
||||
RedClient *client, RedsStream *stream,
|
||||
int monitor_latency,
|
||||
RedChannelCapabilities *caps);
|
||||
|
||||
bool smartcard_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc);
|
||||
|
||||
@ -535,11 +535,7 @@ static void smartcard_connect_client(RedChannel *channel, RedClient *client,
|
||||
|
||||
SmartCardChannelClient *scc;
|
||||
|
||||
scc = smartcard_channel_client_create(channel,
|
||||
client,
|
||||
stream,
|
||||
FALSE,
|
||||
caps);
|
||||
scc = smartcard_channel_client_create(channel, client, stream, caps);
|
||||
|
||||
if (!scc) {
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user