diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2015-10-29 16:54:41 -0500 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-10-30 08:47:45 +0000 |
commit | 26005ddb042f7445aec4b6ea795af486dc0b42b8 (patch) | |
tree | 430198a2b3ae89792f0de73a0a0a3cf5fd1badfc /server/red_worker.c | |
parent | 46d9c51f7351a60562089c9f0b0433f52c9e26d1 (diff) | |
download | spice-26005ddb042f7445aec4b6ea795af486dc0b42b8.tar.gz spice-26005ddb042f7445aec4b6ea795af486dc0b42b8.tar.xz spice-26005ddb042f7445aec4b6ea795af486dc0b42b8.zip |
Remove unused parameter from cursor_channel_new()
cursor_channel_new() is only called from one location, and always passes
FALSE as the value for the 'migrate' paramater. In addition, this
parameter is not used within the function. Remove it.
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/red_worker.c')
-rw-r--r-- | server/red_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index c8e4b2ca..9a4869f5 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10632,7 +10632,7 @@ void handle_dev_cursor_channel_create(void *opaque, void *payload) // TODO: handle seemless migration. Temp, setting migrate to FALSE if (!worker->cursor_channel) { - worker->cursor_channel = cursor_channel_new(worker, FALSE); + worker->cursor_channel = cursor_channel_new(worker); } red_channel = &worker->cursor_channel->common.base; send_data(worker->channel, &red_channel, sizeof(RedChannel *)); |