[Spice-devel] [PATCH spice-server 07/15] red channel: Remove unused red_channel_push_set_ack

Pavel Grunt pgrunt at redhat.com
Thu Nov 19 11:44:57 PST 2015


It is not needed since 8e7b22b7861d2859167767822f29749bfe3ecc16

Signed-off-by: Pavel Grunt <pgrunt at redhat.com>
---
 server/red_channel.c | 5 -----
 server/red_channel.h | 1 -
 2 files changed, 6 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index 6a3155a..c47ded5 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 0f9a51d..89d06ee 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -493,7 +493,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);
 
-- 
2.5.0



More information about the Spice-devel mailing list