summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-11-06 11:49:29 +0000
committerFrediano Ziglio <fziglio@redhat.com>2015-11-09 10:46:50 +0000
commit4ef2618f528f16b406594ed66a0ba99f786ecaed (patch)
tree77c2ddda9585e30659ffd88e6f799a841f82903b
parente2a3d57735e198ff1b3bcf54c89a37b830d0003b (diff)
downloadspice-4ef2618f528f16b406594ed66a0ba99f786ecaed.zip
spice-4ef2618f528f16b406594ed66a0ba99f786ecaed.tar.gz
spice-4ef2618f528f16b406594ed66a0ba99f786ecaed.tar.xz
worker: remove unused parameter from remove_shadow
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r--server/red_worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 37aab25..5d96318 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -1050,7 +1050,7 @@ static void red_worker_drawable_unref(RedWorker *worker, Drawable *drawable)
worker->drawable_count--;
}
-static inline void remove_shadow(RedWorker *worker, DrawItem *item)
+static inline void remove_shadow(DrawItem *item)
{
Shadow *shadow;
@@ -1131,7 +1131,7 @@ static inline void current_remove_drawable(RedWorker *worker, Drawable *item)
if (!item->stream) {
red_add_item_trace(worker, item);
}
- remove_shadow(worker, &item->tree_item);
+ remove_shadow(&item->tree_item);
ring_remove(&item->tree_item.base.siblings_link);
ring_remove(&item->list_link);
ring_remove(&item->surface_list_link);