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:
parent
b0eef11018
commit
0ceac6f64f
|
@ -1440,8 +1440,6 @@ xf86MatchDevice(const char *drivername, GDevPtr **sectlist)
|
||||||
if (sectlist)
|
if (sectlist)
|
||||||
*sectlist = NULL;
|
*sectlist = NULL;
|
||||||
|
|
||||||
if (xf86DoConfigure && xf86DoConfigurePass1) return 1;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is a very important function that matches the device sections
|
* 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
|
* as they show up in the config file with the drivers that the server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user