[PATCH spice-server] display-channel: Remove unused parameter from drawable_remove_dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]