path: root/hw/xfree86/common/xf86Helper.c
diff options
authorTiago Vignatti <>2010-05-20 15:23:24 (GMT)
committerTiago Vignatti <>2010-05-24 16:31:57 (GMT)
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 <> Reviewed-by: Alex Deucher <>
Diffstat (limited to 'hw/xfree86/common/xf86Helper.c')
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