[Spice-devel] [PATCH spice-server] display-channel: Remove unused parameter from drawable_remove_dependencies
Frediano Ziglio
fziglio at redhat.com
Tue Dec 12 17:41:01 UTC 2017
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/display-channel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/display-channel.c b/server/display-channel.c
index 899df42c4..38a8a0e70 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -1659,7 +1659,7 @@ static void depended_item_remove(DependItem *item)
ring_remove(&item->ring_item);
}
-static void drawable_remove_dependencies(DisplayChannel *display, Drawable *drawable)
+static void drawable_remove_dependencies(Drawable *drawable)
{
int x;
int surface_id;
@@ -1701,7 +1701,7 @@ void drawable_unref(Drawable *drawable)
}
region_destroy(&drawable->tree_item.base.rgn);
- drawable_remove_dependencies(display, drawable);
+ drawable_remove_dependencies(drawable);
drawable_unref_surface_deps(display, drawable);
display_channel_surface_unref(display, drawable->surface_id);
--
2.14.3
More information about the Spice-devel
mailing list