diff options
author | Eric Anholt <eric@anholt.net> | 2006-11-01 13:05:44 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-11-01 13:05:44 -0800 |
commit | ffbd6ca09bc2300bf967d7c248a559d85b8706e0 (patch) | |
tree | e66f78620f82427b3ad9293f8b1f396773bed84b | |
parent | 97c3a1b2421031e41f0b2b1630fde1dc4262d264 (diff) |
Remove dead VESARec struct.
-rw-r--r-- | src/i830.h | 13 | ||||
-rw-r--r-- | src/i830_driver.c | 7 |
2 files changed, 0 insertions, 20 deletions
@@ -106,18 +106,6 @@ typedef struct _I830OutputRec I830OutputRec, *I830OutputPtr; #define PIPE_DFP2 1<<6 #define PIPE_LFP2 1<<7 -typedef struct _VESARec { - /* SVGA state */ - pointer state, pstate; - int statePage, stateSize, stateMode, stateRefresh; - CARD32 *savedPal; - int savedScanlinePitch; - xf86MonPtr monitor; - /* display start */ - int x, y; -} VESARec, *VESAPtr; - - typedef struct _I830Rec *I830Ptr; typedef void (*I830WriteIndexedByteFunc)(I830Ptr pI830, IOADDRESS addr, @@ -480,7 +468,6 @@ typedef struct _I830Rec { /* Video BIOS support. */ vbeInfoPtr pVbe; - VESAPtr vesa; Bool swfSaved; CARD32 saveSWF0; diff --git a/src/i830_driver.c b/src/i830_driver.c index 7c151747..3612af76 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -352,7 +352,6 @@ I830GetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate) return TRUE; pI830 = pScrn->driverPrivate = xnfcalloc(sizeof(I830Rec), 1); - pI830->vesa = xnfcalloc(sizeof(VESARec), 1); return TRUE; } @@ -360,7 +359,6 @@ static void I830FreeRec(ScrnInfoPtr pScrn) { I830Ptr pI830; - VESAPtr pVesa; if (!pScrn) return; @@ -374,11 +372,6 @@ I830FreeRec(ScrnInfoPtr pScrn) vbeFree(pI830->pVbe); } - pVesa = pI830->vesa; - if (pVesa->savedPal) - xfree(pVesa->savedPal); - xfree(pVesa); - xfree(pScrn->driverPrivate); pScrn->driverPrivate = NULL; } |