From 0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Thu, 20 May 2010 18:23:24 +0300 Subject: [PATCH] xfree86: no need to check for the configuration case when matching devices xf86MatchDevice will never be called in configuration time. Signed-off-by: Tiago Vignatti Reviewed-by: Alex Deucher --- hw/xfree86/common/xf86Helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 134ca7e0b..bde80eacd 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1440,8 +1440,6 @@ xf86MatchDevice(const char *drivername, GDevPtr **sectlist) if (sectlist) *sectlist = NULL; - if (xf86DoConfigure && xf86DoConfigurePass1) return 1; - /* * This is a very important function that matches the device sections * as they show up in the config file with the drivers that the server