Welcome to hotplug era.

`rm -rf xorg.conf` does not imply an error message. Maybe a warning.

checkInput() is defined but not used.
This commit is contained in:
Tiago Vignatti 2008-06-11 18:21:33 -03:00
parent 6e018f6a30
commit 390b155135

View File

@ -2454,12 +2454,6 @@ addDefaultModes(MonPtr monitorp)
return TRUE; return TRUE;
} }
static void
checkInput(serverLayoutPtr layout) {
if (!xf86Info.allowEmptyInput)
checkCoreInputDevices(layout, FALSE);
}
/* /*
* load the config file and fill the global data structure * load the config file and fill the global data structure
*/ */
@ -2486,7 +2480,7 @@ xf86HandleConfigFile(Bool autoconfig)
xf86MsgVerb(from, 0, "Using config file: \"%s\"\n", filename); xf86MsgVerb(from, 0, "Using config file: \"%s\"\n", filename);
xf86ConfigFile = xnfstrdup(filename); xf86ConfigFile = xnfstrdup(filename);
} else { } else {
xf86Msg(X_ERROR, "Unable to locate/open config file"); xf86Msg(X_WARNING, "Unable to locate/open config file");
if (xf86ConfigFile) if (xf86ConfigFile)
xf86ErrorFVerb(0, ": \"%s\"", xf86ConfigFile); xf86ErrorFVerb(0, ": \"%s\"", xf86ConfigFile);
xf86ErrorFVerb(0, "\n"); xf86ErrorFVerb(0, "\n");