[Spice-devel] [PATCH spice-server] Removed unused red_channel_pipes_new_add_tail function
Frediano Ziglio
fziglio at redhat.com
Fri Dec 9 19:10:44 UTC 2016
This function is supposed to add an item to the queue to
be sent before all other queued items.
Was never used.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/red-channel.c | 6 ------
server/red-channel.h | 1 -
2 files changed, 7 deletions(-)
diff --git a/server/red-channel.c b/server/red-channel.c
index fb2c8c1..f2a35f3 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -686,12 +686,6 @@ void red_channel_pipes_new_add(RedChannel *channel, new_pipe_item_t creator, voi
red_channel_client_pipe_add);
}
-void red_channel_pipes_new_add_tail(RedChannel *channel, new_pipe_item_t creator, void *data)
-{
- red_channel_pipes_create_batch(channel, creator, data,
- red_channel_client_pipe_add_tail);
-}
-
uint32_t red_channel_max_pipe_size(RedChannel *channel)
{
GListIter iter;
diff --git a/server/red-channel.h b/server/red-channel.h
index 2c99139..11a4088 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -256,7 +256,6 @@ void red_channel_init_outgoing_messages_window(RedChannel *channel);
typedef RedPipeItem *(*new_pipe_item_t)(RedChannelClient *rcc, void *data, int num);
int red_channel_pipes_new_add_push(RedChannel *channel, new_pipe_item_t creator, void *data);
void red_channel_pipes_new_add(RedChannel *channel, new_pipe_item_t creator, void *data);
-void red_channel_pipes_new_add_tail(RedChannel *channel, new_pipe_item_t creator, void *data);
void red_channel_pipes_add_type(RedChannel *channel, int pipe_item_type);
--
2.9.3
More information about the Spice-devel
mailing list