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>
This commit is contained in:
Tiago Vignatti 2010-05-20 18:23:24 +03:00
parent b0eef11018
commit 0ceac6f64f

View File

@ -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