From 769f583783d17ffa3398bc8529f61e0f08b35530 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 16 Oct 2009 14:05:54 -0400 Subject: bus: remove some dead struct fields Reviewed-by: Jeremy Huddleston Tested-by: Jeremy Huddleston Signed-off-by: Adam Jackson Reviewed-by: Jamey Sharp --- hw/xfree86/os-support/shared/vidmem.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/xfree86/os-support/shared/vidmem.c b/hw/xfree86/os-support/shared/vidmem.c index 89db4cc9d..54f6c6497 100644 --- a/hw/xfree86/os-support/shared/vidmem.c +++ b/hw/xfree86/os-support/shared/vidmem.c @@ -51,11 +51,9 @@ */ typedef struct { - unsigned long physBase; unsigned long size; pointer virtBase; pointer mtrrInfo; - int flags; } MappingRec, *MappingPtr; typedef struct { @@ -169,10 +167,8 @@ xf86MakeNewMapping(int ScreenNum, int Flags, unsigned long Base, unsigned long S vp = getVidMapRec(ScreenNum); mp = newMapping(vp); - mp->physBase = Base; mp->size = Size; mp->virtBase = Vbase; - mp->flags = Flags; } void @@ -206,10 +202,8 @@ xf86MapVidMem(int ScreenNum, int Flags, unsigned long Base, unsigned long Size) vp = getVidMapRec(ScreenNum); mp = newMapping(vp); - mp->physBase = Base; mp->size = Size; mp->virtBase = vbase; - mp->flags = Flags; /* * Check the "mtrr" option even when MTRR isn't supported to avoid -- cgit v1.2.3