[Spice-devel] [PATCH 18/26] server/red_worker: remove RedChannel argument from add_buf_from_info
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Feb 14 17:29:18 PST 2011
ack
On Fri, Feb 11, 2011 at 6:49 PM, Alon Levy <alevy at redhat.com> wrote:
> It was unused.
> ---
> server/red_worker.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 89fede2..a7bf32a 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -4433,7 +4433,7 @@ static void marshaller_add_compressed(RedWorker *worker, SpiceMarshaller *m,
> }
>
>
> -static void add_buf_from_info(RedChannel *channel, SpiceMarshaller *m, AddBufInfo *info)
> +static void add_buf_from_info(SpiceMarshaller *m, AddBufInfo *info)
> {
> if (info->data) {
> switch (info->type) {
> @@ -7930,7 +7930,7 @@ static void red_marshall_cursor_init(CursorChannel *channel, SpiceMarshaller *ba
>
> fill_cursor(channel, &msg.cursor, worker->cursor, &info);
> spice_marshall_msg_cursor_init(base_marshaller, &msg);
> - add_buf_from_info(&channel->common.base, base_marshaller, &info);
> + add_buf_from_info(base_marshaller, &info);
> }
>
> static void red_marshall_local_cursor(CursorChannel *cursor_channel,
> @@ -7950,7 +7950,7 @@ static void red_marshall_local_cursor(CursorChannel *cursor_channel,
>
> fill_cursor(cursor_channel, &cursor_set.cursor, &cursor->base, &info);
> spice_marshall_msg_cursor_set(base_marshaller, &cursor_set);
> - add_buf_from_info(channel, base_marshaller, &info);
> + add_buf_from_info(base_marshaller, &info);
> red_release_cursor(worker, (CursorItem *)cursor);
> }
>
> @@ -7998,7 +7998,7 @@ static void red_marshall_cursor(CursorChannel *cursor_channel,
>
> fill_cursor(cursor_channel, &cursor_set.cursor, cursor, &info);
> spice_marshall_msg_cursor_set(m, &cursor_set);
> - add_buf_from_info(channel, m, &info);
> + add_buf_from_info(m, &info);
> break;
> }
> case QXL_CURSOR_HIDE:
> --
> 1.7.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
--
Marc-André Lureau
More information about the Spice-devel
mailing list