summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-06-12 18:43:17 -0700
committerIan Romanick <idr@us.ibm.com>2008-06-12 18:43:17 -0700
commit4f16bba339cef8f815cb9a3f969b8a1d1e1d0e33 (patch)
treea6e997008a7dac87edd36a3137e71951b7df053b
parent6d1eebdc5d7f0d7e39e15aeca000f07461bdb3bc (diff)
biosBase is never used. Remove it.
-rw-r--r--src/xgi.h1
-rw-r--r--src/xgi_driver.c21
2 files changed, 0 insertions, 22 deletions
diff --git a/src/xgi.h b/src/xgi.h
index d74cae0..ce22d9b 100644
--- a/src/xgi.h
+++ b/src/xgi.h
@@ -467,7 +467,6 @@ typedef struct {
#endif
unsigned char * IOBase;
unsigned char * fbBase;
- unsigned char * biosBase;
unsigned long fbSize;
unsigned long PIOBase;
diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index ce81613..23ff125 100644
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -1702,14 +1702,6 @@ Bool XGIPreInit(ScrnInfoPtr pScrn, int flags)
}
- /* Free the video bios (if applicable) */
- if (pXGI->biosBase)
- {
- xfree(pXGI->biosBase);
- pXGI->biosBase = NULL;
- }
-
-
/* Decide which operations need to be placed under resource access control.
* The classes of operations are the frame buffer operations (RAC_FB),
* the pointer operations (RAC_CURSOR), the viewport change operations (RAC_VIEWPORT)
@@ -1738,12 +1730,6 @@ Bool XGIPreInit(ScrnInfoPtr pScrn, int flags)
return TRUE;
fail:
XGIUnmapMem(pScrn);
- /* Free the video bios (if applicable) */
- if (pXGI->biosBase)
- {
- xfree(pXGI->biosBase);
- pXGI->biosBase = NULL;
- }
if (pXGI->pVbe) {
vbeFree(pXGI->pVbe);
@@ -2246,14 +2232,7 @@ fail:
PDEBUG(ErrorF("Jong-After-XGIInitMC-7\n"));
XGIUnmapMem(pScrn);
PDEBUG(ErrorF("Jong-After-XGIInitMC-8\n"));
- /* Free the video bios (if applicable) */
- if (pXGI->biosBase)
- {
- xfree(pXGI->biosBase);
- pXGI->biosBase = NULL;
- }
- PDEBUG(ErrorF("Jong-After-XGIInitMC-9\n"));
if (pXGI->pVbe) {
vbeFree(pXGI->pVbe);
pXGI->pVbe = NULL;