diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-06 13:35:19 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:12 +0300 |
commit | 26027036c05cac96e2648ee146d63ba83af2d35e (patch) | |
tree | b3773c51bfebf9661d9c6d3604565b9ef5ff7904 /server/red_channel.c | |
parent | 934fb14ccc731689369c55ead8125a590c0c4343 (diff) |
red_channel: remove unused migrate flag from RedChannel
The relevant flags reside in RedChannelClient and RedClient
Diffstat (limited to 'server/red_channel.c')
-rw-r--r-- | server/red_channel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 18b69d32..97a26d12 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -768,7 +768,7 @@ void red_channel_client_default_migrate(RedChannelClient *rcc) RedChannel *red_channel_create(int size, SpiceCoreInterface *core, uint32_t type, uint32_t id, - int migrate, int handle_acks, + int handle_acks, channel_handle_message_proc handle_message, ChannelCbs *channel_cbs, uint32_t migration_flags) @@ -790,7 +790,6 @@ RedChannel *red_channel_create(int size, memcpy(&channel->channel_cbs, channel_cbs, sizeof(ChannelCbs)); channel->core = core; - channel->migrate = migrate; ring_init(&channel->clients); // TODO: send incoming_cb as parameters instead of duplicating? @@ -879,14 +878,14 @@ static int do_nothing_handle_message(RedChannelClient *rcc, RedChannel *red_channel_create_parser(int size, SpiceCoreInterface *core, uint32_t type, uint32_t id, - int migrate, int handle_acks, + int handle_acks, spice_parse_channel_func_t parser, channel_handle_parsed_proc handle_parsed, ChannelCbs *channel_cbs, uint32_t migration_flags) { RedChannel *channel = red_channel_create(size, core, type, id, - migrate, handle_acks, + handle_acks, do_nothing_handle_message, channel_cbs, migration_flags); |