[Spice-devel] [PATCH 07/11] worker: remove unused red_worker_get_memslot function
Jonathon Jongsma
jjongsma at redhat.com
Thu Feb 11 20:25:28 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Tue, 2016-02-09 at 10:27 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/red-worker.c | 7 -------
> server/red-worker.h | 1 -
> 2 files changed, 8 deletions(-)
>
> diff --git a/server/red-worker.c b/server/red-worker.c
> index ba37b6c..5d6512f 100644
> --- a/server/red-worker.c
> +++ b/server/red-worker.c
> @@ -99,13 +99,6 @@ QXLInstance* red_worker_get_qxl(RedWorker *worker)
> return worker->qxl;
> }
>
> -RedMemSlotInfo* red_worker_get_memslot(RedWorker *worker)
> -{
> - spice_return_val_if_fail(worker != NULL, NULL);
> -
> - return &worker->mem_slots;
> -}
> -
> static int display_is_connected(RedWorker *worker)
> {
> return (worker->display_channel && red_channel_is_connected(
> diff --git a/server/red-worker.h b/server/red-worker.h
> index 91533e1..f14a553 100644
> --- a/server/red-worker.h
> +++ b/server/red-worker.h
> @@ -97,7 +97,6 @@ bool red_worker_run(RedWorker *worker);
> QXLInstance* red_worker_get_qxl(RedWorker *worker);
> RedChannel* red_worker_get_cursor_channel(RedWorker *worker);
> RedChannel* red_worker_get_display_channel(RedWorker *worker);
> -RedMemSlotInfo* red_worker_get_memslot(RedWorker *worker);
>
> void red_drawable_unref(RedWorker *worker, RedDrawable *red_drawable,
> uint32_t group_id);
More information about the Spice-devel
mailing list