Re: [PATCH 12/23] remove unused parameter from put_cursor_pipe_item

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

 



Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>

On Mon, 2016-05-16 at 14:31 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  server/cursor-channel.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/server/cursor-channel.c b/server/cursor-channel.c
> index 444d89b..4df5c66 100644
> --- a/server/cursor-channel.c
> +++ b/server/cursor-channel.c
> @@ -203,8 +203,7 @@ void cursor_channel_disconnect(CursorChannel
> *cursor_channel)
>  }
>  
>  
> -static void put_cursor_pipe_item(CursorChannelClient *ccc,
> -                                 RedCursorPipeItem *pipe_item)
> +static void put_cursor_pipe_item(RedCursorPipeItem *pipe_item)
>  {
>      spice_return_if_fail(pipe_item);
>      spice_return_if_fail(pipe_item->refs > 0);
> @@ -235,7 +234,7 @@ static void
> cursor_channel_client_release_item_before_push(CursorChannelClient *
>      switch (item->type) {
>      case RED_PIPE_ITEM_TYPE_CURSOR: {
>          RedCursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item,
> RedCursorPipeItem, base);
> -        put_cursor_pipe_item(ccc, cursor_pipe_item);
> +        put_cursor_pipe_item(cursor_pipe_item);
>          break;
>      }
>      case RED_PIPE_ITEM_TYPE_INVAL_ONE:
> @@ -255,7 +254,7 @@ static void
> cursor_channel_client_release_item_after_push(CursorChannelClient *c
>      switch (item->type) {
>          case RED_PIPE_ITEM_TYPE_CURSOR: {
>              RedCursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item,
> RedCursorPipeItem, base);
> -            put_cursor_pipe_item(ccc, cursor_pipe_item);
> +            put_cursor_pipe_item(cursor_pipe_item);
>              break;
>          }
>          default:
_______________________________________________
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]