summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-11 21:06:42 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:53 +0200
commitd4c187c0434d0da99a905174ad358dd939fb5976 (patch)
treef5f998ff3e274c3531dea09ebcfa51c81e39aa4b /server
parent5575d6e5fac35e92ccc563c82e6cd98031388081 (diff)
downloadspice-d4c187c0434d0da99a905174ad358dd939fb5976.tar.gz
spice-d4c187c0434d0da99a905174ad358dd939fb5976.tar.xz
spice-d4c187c0434d0da99a905174ad358dd939fb5976.zip
server/red_worker: remove RedChannel argument from add_buf_from_info
It was unused.
Diffstat (limited to 'server')
-rw-r--r--server/red_worker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index b5bb3b3b..d9b70327 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -4432,7 +4432,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) {
@@ -7929,7 +7929,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,
@@ -7949,7 +7949,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);
}
@@ -7997,7 +7997,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: