[Spice-devel] [PATCH spice-server] display-channel: Remove unused parameter from drawable_remove_dependencies
Victor Toso
victortoso at redhat.com
Wed Dec 13 06:00:44 UTC 2017
Hi,
On Tue, Dec 12, 2017 at 05:41:01PM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Yes, its not used since its introduction at 4e8f24e3510ce8cb3fa6b
Acked-by: Victor Toso <victortoso 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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171213/92425d11/attachment.sig>
More information about the Spice-devel
mailing list