mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-08 04:11:52 +00:00
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:
parent
2a3b6c2c00
commit
ecdef4930b
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user