[Spice-commits] server/red-worker.c server/red-worker.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Feb 16 13:10:21 UTC 2016


 server/red-worker.c |    7 -------
 server/red-worker.h |    1 -
 2 files changed, 8 deletions(-)

New commits:
commit c111bfa8c321fc0f7a67284397de31eadf5bae30
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Feb 16 11:17:07 2016 +0000

    worker: removed unused red_worker_get_qxl function
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Pavel Grunt <pgrunt at redhat.com>

diff --git a/server/red-worker.c b/server/red-worker.c
index 0afbda5..bf12a22 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 b60375e..d366955 100644
--- a/server/red-worker.h
+++ b/server/red-worker.h
@@ -92,7 +92,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-commits mailing list