[spice-server v2 5/5] Remove redundant code from red_channel_client_msg_sent()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



red_channel_client_clear_sent_item() will clear send_data.blocked, so no
need to do it in red_channel_client_msg_sent() as well.

Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
---
 server/red-channel-client.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index 6f1098279..7fc931784 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -634,9 +634,6 @@ static void red_channel_client_msg_sent(RedChannelClient *rcc)
     }
 
     red_channel_client_clear_sent_item(rcc);
-    if (red_channel_client_is_blocked(rcc)) {
-        rcc->priv->send_data.blocked = FALSE;
-    }
 
     if (red_channel_client_urgent_marshaller_is_active(rcc)) {
         red_channel_client_restore_main_sender(rcc);
-- 
2.12.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]