summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-12-17 17:05:58 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-04-07 14:26:43 +0200
commit5466448f147cd6ec21e11eb2c7d02d541f7667d2 (patch)
tree848ea38524ab2d62ba543d5ed0b47cee6d304ffd
parentfc5327bc568a06ed27b536453d26214fad4409c8 (diff)
Remove unused variables
-rw-r--r--src/qxl.h3
-rw-r--r--src/qxl_driver.c5
2 files changed, 0 insertions, 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 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);