summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-11-23 10:43:47 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-11-23 11:48:14 +0000
commit380b9f6aff17b59a5eee919ec8b9dccb4dc07cae (patch)
tree1e48eb985985f2f248670b3a0b3131b6ef4f6d7c /server
parent2d79b39d966e923bea63dbc9ec9395a17708a49e (diff)
downloadspice-380b9f6aff17b59a5eee919ec8b9dccb4dc07cae.zip
spice-380b9f6aff17b59a5eee919ec8b9dccb4dc07cae.tar.gz
spice-380b9f6aff17b59a5eee919ec8b9dccb4dc07cae.tar.xz
red channel: Remove unused red_channel_push_set_ack
It is not needed since 8e7b22b7861d2859167767822f29749bfe3ecc16 Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/red_channel.c5
-rw-r--r--server/red_channel.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 2b1ce08..c214494 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -483,11 +483,6 @@ void red_channel_client_push_set_ack(RedChannelClient *rcc)
red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SET_ACK);
}
-void red_channel_push_set_ack(RedChannel *channel)
-{
- red_channel_pipes_add_type(channel, PIPE_ITEM_TYPE_SET_ACK);
-}
-
static void red_channel_client_send_set_ack(RedChannelClient *rcc)
{
SpiceMsgSetAck ack;
diff --git a/server/red_channel.h b/server/red_channel.h
index 4deecb6..1d6eab9 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -496,7 +496,6 @@ void red_channel_pipes_add_empty_msg(RedChannel *channel, int msg_type);
void red_channel_client_ack_zero_messages_window(RedChannelClient *rcc);
void red_channel_client_ack_set_client_window(RedChannelClient *rcc, int client_window);
void red_channel_client_push_set_ack(RedChannelClient *rcc);
-void red_channel_push_set_ack(RedChannel *channel);
int red_channel_get_first_socket(RedChannel *channel);