From 673fbd7147076befe1ab96e86965c23f871a59be Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Tue, 3 Mar 2020 05:26:23 +0000 Subject: [PATCH] cursor-channel: Remove unused pipe_item argument from red_marshall_cursor_init Signed-off-by: Frediano Ziglio Acked-by: Victor Toso --- server/cursor-channel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/cursor-channel.c b/server/cursor-channel.c index 138a0bd6..baa20539 100644 --- a/server/cursor-channel.c +++ b/server/cursor-channel.c @@ -114,8 +114,7 @@ static void cursor_fill(CursorChannelClient *ccc, RedCursorPipeItem *cursor, } } -static void red_marshall_cursor_init(CursorChannelClient *ccc, SpiceMarshaller *base_marshaller, - RedPipeItem *pipe_item) +static void red_marshall_cursor_init(CursorChannelClient *ccc, SpiceMarshaller *base_marshaller) { spice_assert(ccc); @@ -212,7 +211,7 @@ static void cursor_channel_send_item(RedChannelClient *rcc, RedPipeItem *pipe_it break; case RED_PIPE_ITEM_TYPE_CURSOR_INIT: cursor_channel_client_reset_cursor_cache(rcc); - red_marshall_cursor_init(ccc, m, pipe_item); + red_marshall_cursor_init(ccc, m); break; case RED_PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE: cursor_channel_client_reset_cursor_cache(rcc);