[Spice-devel] [qxl 1/2] Remove unused variables
Christophe Fergeau
cfergeau at redhat.com
Thu Apr 2 07:27:16 PDT 2015
---
src/qxl.h | 3 ---
src/qxl_driver.c | 5 -----
2 files changed, 8 deletions(-)
diff --git a/src/qxl.h b/src/qxl.h
index 95d6682..f46bc58 100644
--- a/src/qxl.h
+++ b/src/qxl.h
@@ -271,9 +271,6 @@ struct _qxl_screen_t
xf86OutputPtr * outputs;
#ifndef XSPICE
- void * io_pages;
- void * io_pages_physical;
-
#ifdef XSERVER_LIBPCIACCESS
struct pci_device * pci;
#else
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 13b4a9a..9f786a9 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -758,11 +758,6 @@ qxl_screen_init (SCREEN_INIT_ARGS_DECL)
}
}
-#ifndef XSPICE
- qxl->io_pages = (void *)((unsigned long)qxl->ram);
- qxl->io_pages_physical = (void *)((unsigned long)qxl->ram_physical);
-#endif
-
qxl->command_ring = qxl_ring_create ((struct qxl_ring_header *)&(ram_header->cmd_ring),
sizeof (struct QXLCommand),
QXL_COMMAND_RING_SIZE, QXL_IO_NOTIFY_CMD, qxl);
--
2.3.4
More information about the Spice-devel
mailing list