[PATCH spice-server] Removed unused red_channel_pipes_new_add_tail function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]