[PATCH] xfree86: no need to assign numScreens again

Peter Hutterer peter.hutterer at who-t.net
Thu Apr 22 15:53:44 PDT 2010


On Thu, Apr 22, 2010 at 09:16:07PM +0300, Tiago Vignatti wrote:
> numScreens is always being assigned to 0 in dix for any server generation.
> 
> Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
> ---
>  hw/xfree86/common/xf86Init.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
> index 03a29ea..55d7a62 100644
> --- a/hw/xfree86/common/xf86Init.c
> +++ b/hw/xfree86/common/xf86Init.c
> @@ -552,9 +552,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
>    xf86Initialising = TRUE;
>  
>    if (serverGeneration == 1) {
> -
> -    pScreenInfo->numScreens = 0;
> -
>      if ((xf86ServerName = strrchr(argv[0], '/')) != 0)
>        xf86ServerName++;
>      else
> -- 
> 1.6.0.4

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-devel mailing list