[Spice-devel] [PATCH spice-server] Removed unused red_channel_pipes_new_add_tail function

Christophe Fergeau cfergeau at redhat.com
Mon Dec 12 13:35:22 UTC 2016


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Fri, Dec 09, 2016 at 07:10:44PM +0000, Frediano Ziglio wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161212/ca229b56/attachment.sig>


More information about the Spice-devel mailing list