[Spice-devel] [PATCH 10/11] worker: remove unused red_worker_get_qxl function
Jonathon Jongsma
jjongsma at redhat.com
Thu Feb 11 20:38:13 UTC 2016
unused due to previous patch
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 1757b8e..05d6af3 100644
> --- a/server/red-worker.c
> +++ b/server/red-worker.c
> @@ -92,13 +92,6 @@ struct RedWorker {
> FILE *record_fd;
> };
>
> -QXLInstance* red_worker_get_qxl(RedWorker *worker)
> -{
> - spice_return_val_if_fail(worker != NULL, NULL);
> -
> - return worker->qxl;
> -}
> -
> 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 1285942..5632cf0 100644
> --- a/server/red-worker.h
> +++ b/server/red-worker.h
> @@ -93,7 +93,6 @@ static inline void red_pipes_add_verb(RedChannel *channel,
> uint16_t verb)
>
> RedWorker* red_worker_new(QXLInstance *qxl, RedDispatcher *red_dispatcher);
> 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);
>
More information about the Spice-devel
mailing list