[Spice-devel] [spice-protocol PATCH 38/46] qxlhw: qxl.h: remove io_pages* from qxl_screen_t

Alon Levy alevy at redhat.com
Tue Apr 10 04:50:34 PDT 2012


---
 src/qxl.h       |    3 ---
 src/qxlhw_pci.c |    5 -----
 2 files changed, 8 deletions(-)

diff --git a/src/qxl.h b/src/qxl.h
index 25e6322..8ef29ee 100644
--- a/src/qxl.h
+++ b/src/qxl.h
@@ -133,9 +133,6 @@ struct _qxl_screen_t
     EntityInfoPtr		entity;
 
 #ifndef XSPICE
-    void *			io_pages;
-    void *			io_pages_physical;
-
 #ifdef XSERVER_LIBPCIACCESS
     struct pci_device *		pci;
 #else
diff --git a/src/qxlhw_pci.c b/src/qxlhw_pci.c
index 69d6888..5ba2fd8 100644
--- a/src/qxlhw_pci.c
+++ b/src/qxlhw_pci.c
@@ -525,11 +525,6 @@ static void qxlhw_pci_reset(struct qxlhw *base)
         (uint64_t)(uintptr_t)hw->vram,
         (uint64_t)(uintptr_t)hw->vram + (uint64_t)hw->vram_size);
 #endif
-    // Set the pointers in qxl_screen_t since they are still used:
-#ifndef XSPICE
-    base->qxl->io_pages = hw->io_pages;
-    base->qxl->io_pages_physical = hw->io_pages_physical;
-#endif
 }
 
 static void qxlhw_pci_clear_memory(struct qxlhw *base)
-- 
1.7.9.3



More information about the Spice-devel mailing list