aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2017-11-22 13:56:22 +0000
committerGerd Hoffmann <kraxel@redhat.com>2018-01-12 14:35:58 +0100
commit9fedfa49092c55628a96fd2783060d58ccec9db0 (patch)
tree0bd9c25b11964858e48e6bc8c511833bf12b1beb /ui
parentb7715af2b31f47060cc5b4be930d16c13be93fa9 (diff)
downloadqemu-9fedfa49092c55628a96fd2783060d58ccec9db0.zip
qemu-9fedfa49092c55628a96fd2783060d58ccec9db0.tar.gz
qemu-9fedfa49092c55628a96fd2783060d58ccec9db0.tar.bz2
spice: remove QXLWorker interface field
This fields points to an old interface that is no more used in the current code. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Message-id: 20171122135625.16625-1-fziglio@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/spice-display.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c
index ad1ceaf..85a72fe 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -519,7 +519,6 @@ static void interface_attach_worker(QXLInstance *sin, QXLWorker *qxl_worker)
SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl);
dprint(1, "%s/%d:\n", __func__, ssd->qxl.id);
- ssd->worker = qxl_worker;
}
static void interface_set_compression_level(QXLInstance *sin, int level)
@@ -1028,7 +1027,6 @@ static void qemu_spice_display_init_one(QemuConsole *con)
ssd->qxl.base.sif = &dpy_interface.base;
qemu_spice_add_display_interface(&ssd->qxl, con);
- assert(ssd->worker);
qemu_spice_create_host_memslot(ssd);
register_displaychangelistener(&ssd->dcl);