diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-12-17 17:05:58 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-04-07 14:26:43 +0200 |
commit | 5466448f147cd6ec21e11eb2c7d02d541f7667d2 (patch) | |
tree | 848ea38524ab2d62ba543d5ed0b47cee6d304ffd | |
parent | fc5327bc568a06ed27b536453d26214fad4409c8 (diff) |
Remove unused variables
-rw-r--r-- | src/qxl.h | 3 | ||||
-rw-r--r-- | src/qxl_driver.c | 5 |
2 files changed, 0 insertions, 8 deletions
@@ -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 2cacb61..7478353 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); |