[Spice-devel] [PATCH 12/23] remove unused parameter from put_cursor_pipe_item
Jonathon Jongsma
jjongsma at redhat.com
Tue May 17 20:01:44 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Mon, 2016-05-16 at 14:31 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> 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:
More information about the Spice-devel
mailing list