mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +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,
|
RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
||||||
RedClient *client,
|
RedClient *client,
|
||||||
RedsStream *stream,
|
RedsStream *stream,
|
||||||
int monitor_latency,
|
|
||||||
RedChannelCapabilities *caps)
|
RedChannelCapabilities *caps)
|
||||||
{
|
{
|
||||||
RedChannelClient *rcc;
|
RedChannelClient *rcc;
|
||||||
@ -93,7 +92,6 @@ RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
|||||||
"channel", channel,
|
"channel", channel,
|
||||||
"client", client,
|
"client", client,
|
||||||
"stream", stream,
|
"stream", stream,
|
||||||
"monitor-latency", monitor_latency,
|
|
||||||
"caps", caps,
|
"caps", caps,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
|||||||
@ -59,7 +59,6 @@ GType inputs_channel_client_get_type(void) G_GNUC_CONST;
|
|||||||
RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
RedChannelClient* inputs_channel_client_create(RedChannel *channel,
|
||||||
RedClient *client,
|
RedClient *client,
|
||||||
RedsStream *stream,
|
RedsStream *stream,
|
||||||
int monitor_latency,
|
|
||||||
RedChannelCapabilities *caps);
|
RedChannelCapabilities *caps);
|
||||||
|
|
||||||
uint16_t inputs_channel_client_get_motion_count(InputsChannelClient* self);
|
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");
|
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) {
|
if (!rcc) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -106,7 +106,6 @@ smart_card_channel_client_init(SmartCardChannelClient *self)
|
|||||||
|
|
||||||
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
||||||
RedClient *client, RedsStream *stream,
|
RedClient *client, RedsStream *stream,
|
||||||
int monitor_latency,
|
|
||||||
RedChannelCapabilities *caps)
|
RedChannelCapabilities *caps)
|
||||||
{
|
{
|
||||||
SmartCardChannelClient *rcc;
|
SmartCardChannelClient *rcc;
|
||||||
@ -116,7 +115,6 @@ SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
|||||||
"channel", channel,
|
"channel", channel,
|
||||||
"client", client,
|
"client", client,
|
||||||
"stream", stream,
|
"stream", stream,
|
||||||
"monitor-latency", monitor_latency,
|
|
||||||
"caps", caps,
|
"caps", caps,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
|||||||
@ -57,7 +57,6 @@ GType smart_card_channel_client_get_type(void) G_GNUC_CONST;
|
|||||||
|
|
||||||
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
SmartCardChannelClient* smartcard_channel_client_create(RedChannel *channel,
|
||||||
RedClient *client, RedsStream *stream,
|
RedClient *client, RedsStream *stream,
|
||||||
int monitor_latency,
|
|
||||||
RedChannelCapabilities *caps);
|
RedChannelCapabilities *caps);
|
||||||
|
|
||||||
bool smartcard_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc);
|
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;
|
SmartCardChannelClient *scc;
|
||||||
|
|
||||||
scc = smartcard_channel_client_create(channel,
|
scc = smartcard_channel_client_create(channel, client, stream, caps);
|
||||||
client,
|
|
||||||
stream,
|
|
||||||
FALSE,
|
|
||||||
caps);
|
|
||||||
|
|
||||||
if (!scc) {
|
if (!scc) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user