[Spice-commits] 2 commits - server/red-channel-client-private.h server/red-channel.c server/red-channel.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Mon Dec 12 13:38:54 UTC 2016


 server/red-channel-client-private.h |    2 --
 server/red-channel.c                |    6 ------
 server/red-channel.h                |    1 -
 3 files changed, 9 deletions(-)

New commits:
commit 6940f7ff5354769d404093089b57b26421f1849b
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Fri Dec 9 19:09:53 2016 +0000

    Removed unused red_channel_pipes_new_add_tail function
    
    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>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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);
 
commit dc9177689e34c0927ad1c39c78244aae3180af27
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Fri Dec 9 19:07:44 2016 +0000

    Remove unused refs field
    
    refs was used before GObject for reference counting.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/red-channel-client-private.h b/server/red-channel-client-private.h
index 38759ff..0cb3ddd 100644
--- a/server/red-channel-client-private.h
+++ b/server/red-channel-client-private.h
@@ -57,8 +57,6 @@ struct RedChannelClientPrivate
     RedsStream *stream;
     gboolean monitor_latency;
 
-    uint32_t refs;
-
     struct {
         uint32_t generation;
         uint32_t client_generation;


More information about the Spice-commits mailing list