summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Helper.c
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-05-20 18:23:24 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-05-24 19:31:57 +0300
commit0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05 (patch)
treeeb4a8be305504fee42d3bb08fbc19fb36dc92217 /hw/xfree86/common/xf86Helper.c
parentb0eef1101815b08da2d375af7bec2be3136cf713 (diff)
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 <tiago.vignatti@nokia.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'hw/xfree86/common/xf86Helper.c')
-rw-r--r--hw/xfree86/common/xf86Helper.c2
1 files changed, 0 insertions, 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