From aa5390aa83be55f887e3b4f78681b4f3d3386eb5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 9 May 2016 14:18:32 -0400 Subject: [PATCH] xfree86: Remove redundant parse of AIGLX server flag Not visible in the patch, but the same stanza is repeated below inside the #ifdef GLXEXT. There's no reason to bother with checking it if we built without GLXEXT so remove the unconditional one. Reviewed-by: Alan Coopersmith Signed-off-by: Adam Jackson --- hw/xfree86/common/xf86Config.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 5a9f8d2fd..2dbefbaf1 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -898,11 +898,6 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts) xf86Info.aiglx = TRUE; xf86Info.aiglxFrom = X_DEFAULT; - if (xf86GetOptValBool(FlagOptions, FLAG_AIGLX, &value)) { - xf86Info.aiglx = value; - xf86Info.aiglxFrom = X_CONFIG; - } - #ifdef GLXEXT xf86Info.glxVisuals = XF86_GlxVisualsTypical; xf86Info.glxVisualsFrom = X_DEFAULT;