diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-22 15:48:48 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-23 16:13:57 +0300 |
commit | 64fd39f2f0ffbbdc2d5929047d260263d0962141 (patch) | |
tree | 7f08fe25ae9ae95d92046fff6909bff5af177fe8 | |
parent | a7d398e545a4be5491248d5ccb303aa03ee1594f (diff) |
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 <tiago.vignatti@nokia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | 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 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 |