From 64fd39f2f0ffbbdc2d5929047d260263d0962141 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Thu, 22 Apr 2010 15:48:48 +0300 Subject: [PATCH] xfree86: no need to assign numScreens again numScreens is always being assigned to 0 in dix for any server generation. Signed-off-by: Tiago Vignatti Reviewed-by: Peter Hutterer --- hw/xfree86/common/xf86Init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 03a29ea0f..55d7a6209 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