[Spice-devel] [PATCH spice-server 3/5] worker: Remove unused red_show_tree

Frediano Ziglio fziglio at redhat.com
Wed Nov 18 05:56:40 PST 2015


> 
> ---
>  server/red_worker.c | 18 ------------------
>  1 file changed, 18 deletions(-)
> 
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 4620273..dba18ee 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -7045,24 +7045,6 @@ static inline void red_push(RedWorker *worker)
>      }
>  }
>  
> -void red_show_tree(RedWorker *worker)
> -{
> -    int x;
> -
> -    for (x = 0; x < NUM_SURFACES; ++x) {
> -        if (!worker->surfaces[x].context.canvas)
> -            continue;
> -
> -        RingItem *it;
> -        Ring *ring = &worker->surfaces[x].current;
> -        RING_FOREACH(it, ring) {
> -            TreeItem *now = SPICE_CONTAINEROF(it, TreeItem, siblings_link);
> -            tree_item_dump(now);
> -        }
> -
> -    }
> -}
> -
>  static void display_channel_client_on_disconnect(RedChannelClient *rcc)
>  {
>      DisplayChannel *display;
> --
> 2.5.0
> 
Acked

Frediano


More information about the Spice-devel mailing list