summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Helper.c
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-05-20 15:23:24 (GMT)
committer Tiago Vignatti <tiago.vignatti@nokia.com>2010-05-24 16:31:57 (GMT)
commit0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05 (patch) (side-by-side diff)
treeeb4a8be305504fee42d3bb08fbc19fb36dc92217 /hw/xfree86/common/xf86Helper.c
parentb0eef1101815b08da2d375af7bec2be3136cf713 (diff)
downloadxserver-0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05.zip
xserver-0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05.tar.gz
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') (more/less context) (ignore whitespace changes)
-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 134ca7e..bde80ea 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