[Spice-devel] [PATCH 10/11] worker: remove unused red_worker_get_qxl function
Frediano Ziglio
fziglio at redhat.com
Tue Feb 9 10:27:59 UTC 2016
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);
--
2.5.0
More information about the Spice-devel
mailing list