From 594c2feffad4e00bd986ed95d2162099bc512b74 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Sun, 1 Mar 2020 12:15:14 +0000 Subject: [PATCH] Remove "handle-acks" setting to FALSE FALSE is the default value, no need to set explicitly. Signed-off-by: Frediano Ziglio Acked-by: Victor Toso --- server/inputs-channel.c | 1 - server/main-channel.c | 1 - server/smartcard.c | 1 - server/spicevmc.c | 1 - server/tests/test-stream-device.c | 1 - 5 files changed, 5 deletions(-) diff --git a/server/inputs-channel.c b/server/inputs-channel.c index 280783c1..5413a4fb 100644 --- a/server/inputs-channel.c +++ b/server/inputs-channel.c @@ -570,7 +570,6 @@ InputsChannel* inputs_channel_new(RedsState *reds) "core-interface", reds_get_core_interface(reds), "channel-type", (int)SPICE_CHANNEL_INPUTS, "id", 0, - "handle-acks", FALSE, "migration-flags", (guint)(SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER), NULL); diff --git a/server/main-channel.c b/server/main-channel.c index 0f98eeb5..3ff2cc0e 100644 --- a/server/main-channel.c +++ b/server/main-channel.c @@ -252,7 +252,6 @@ MainChannel* main_channel_new(RedsState *reds) "core-interface", reds_get_core_interface(reds), "channel-type", (gint)SPICE_CHANNEL_MAIN, "id", 0, - "handle-acks", FALSE, /* handle_acks */ "migration-flags", (SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER), NULL); diff --git a/server/smartcard.c b/server/smartcard.c index 9a536064..74c99062 100644 --- a/server/smartcard.c +++ b/server/smartcard.c @@ -73,7 +73,6 @@ red_smartcard_channel_new(RedsState *reds) "core-interface", reds_get_core_interface(reds), "channel-type", SPICE_CHANNEL_SMARTCARD, "id", 0, - "handle-acks", FALSE /* handle_acks */, "migration-flags", (SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER), NULL); diff --git a/server/spicevmc.c b/server/spicevmc.c index 4f0f8906..cae77bb8 100644 --- a/server/spicevmc.c +++ b/server/spicevmc.c @@ -253,7 +253,6 @@ static RedVmcChannel *red_vmc_channel_new(RedsState *reds, uint8_t channel_type) "core-interface", reds_get_core_interface(reds), "channel-type", channel_type, "id", id, - "handle-acks", FALSE, "migration-flags", (SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER), NULL); diff --git a/server/tests/test-stream-device.c b/server/tests/test-stream-device.c index abf66f04..7d901d66 100644 --- a/server/tests/test-stream-device.c +++ b/server/tests/test-stream-device.c @@ -158,7 +158,6 @@ StreamChannel* stream_channel_new(RedsState *server, uint32_t id) "channel-type", SPICE_CHANNEL_DISPLAY, "id", id, "migration-flags", 0, - "handle-acks", FALSE, NULL); }