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

Submitted by Alon Levy on April 10, 2012, 11:50 a.m.

Details

Message ID 1334058642-12274-39-git-send-email-alevy@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Alon Levy April 10, 2012, 11:50 a.m.
---
 src/qxl.h       |    3 ---
 src/qxlhw_pci.c |    5 -----
 2 files changed, 8 deletions(-)

Patch hide | download patch | download mbox

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)