[PATCH 8/9] bus: remove some dead struct fields
Tiago Vignatti
tiago.vignatti at nokia.com
Wed Sep 22 05:55:20 PDT 2010
On Wed, Sep 22, 2010 at 01:28:38AM +0200, ext Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> hw/xfree86/os-support/shared/vidmem.c | 6 ------
> 1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/hw/xfree86/os-support/shared/vidmem.c b/hw/xfree86/os-support/shared/vidmem.c
> index 89db4cc..54f6c64 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
> --
Reviewed-by: Tiago Vignatti <tiago.vignatti at nokia.com>
Tiago
More information about the xorg-devel
mailing list