summaryrefslogtreecommitdiffstats
path: root/server/cursor-channel.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-10-29 16:54:41 -0500
committerFrediano Ziglio <fziglio@redhat.com>2015-10-30 08:47:45 +0000
commit26005ddb042f7445aec4b6ea795af486dc0b42b8 (patch)
tree430198a2b3ae89792f0de73a0a0a3cf5fd1badfc /server/cursor-channel.c
parent46d9c51f7351a60562089c9f0b0433f52c9e26d1 (diff)
downloadspice-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/cursor-channel.c')
-rw-r--r--server/cursor-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 6cc2b93b..ee6520f2 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -357,7 +357,7 @@ static void cursor_channel_release_item(RedChannelClient *rcc, PipeItem *item, i
}
}
-CursorChannel* cursor_channel_new(RedWorker *worker, int migrate)
+CursorChannel* cursor_channel_new(RedWorker *worker)
{
CursorChannel* cursor;