bus: remove some dead struct fields

Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
Adam Jackson 2009-10-16 14:05:54 -04:00 committed by Jeremy Huddleston
parent dd72b3c1f1
commit 769f583783

View File

@ -51,11 +51,9 @@
*/ */
typedef struct { typedef struct {
unsigned long physBase;
unsigned long size; unsigned long size;
pointer virtBase; pointer virtBase;
pointer mtrrInfo; pointer mtrrInfo;
int flags;
} MappingRec, *MappingPtr; } MappingRec, *MappingPtr;
typedef struct { typedef struct {
@ -169,10 +167,8 @@ xf86MakeNewMapping(int ScreenNum, int Flags, unsigned long Base, unsigned long S
vp = getVidMapRec(ScreenNum); vp = getVidMapRec(ScreenNum);
mp = newMapping(vp); mp = newMapping(vp);
mp->physBase = Base;
mp->size = Size; mp->size = Size;
mp->virtBase = Vbase; mp->virtBase = Vbase;
mp->flags = Flags;
} }
void void
@ -206,10 +202,8 @@ xf86MapVidMem(int ScreenNum, int Flags, unsigned long Base, unsigned long Size)
vp = getVidMapRec(ScreenNum); vp = getVidMapRec(ScreenNum);
mp = newMapping(vp); mp = newMapping(vp);
mp->physBase = Base;
mp->size = Size; mp->size = Size;
mp->virtBase = vbase; mp->virtBase = vbase;
mp->flags = Flags;
/* /*
* Check the "mtrr" option even when MTRR isn't supported to avoid * Check the "mtrr" option even when MTRR isn't supported to avoid