Remove redundant code from red_channel_client_msg_sent()

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@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2017-04-07 18:19:01 +02:00
parent 2a3b6c2c00
commit ecdef4930b

View File

@ -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);