diff options
| author | Ian Romanick <idr@us.ibm.com> | 2008-06-12 18:43:17 -0700 |
|---|---|---|
| committer | Ian Romanick <idr@us.ibm.com> | 2008-06-12 18:43:17 -0700 |
| commit | 4f16bba339cef8f815cb9a3f969b8a1d1e1d0e33 (patch) | |
| tree | a6e997008a7dac87edd36a3137e71951b7df053b | |
| parent | 6d1eebdc5d7f0d7e39e15aeca000f07461bdb3bc (diff) | |
biosBase is never used. Remove it.
| -rw-r--r-- | src/xgi.h | 1 | ||||
| -rw-r--r-- | src/xgi_driver.c | 21 |
2 files changed, 0 insertions, 22 deletions
@@ -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; |
