loader: Remove useless call to LoaderGetOS

We know what OS you're running on anyway, it's printed in the uname
string at the top of the log.
This commit is contained in:
Adam Jackson 2009-01-26 07:53:05 -05:00
parent 05e415a5a3
commit 366f23c6eb

View File

@ -117,8 +117,6 @@ _LoaderListPop(int handle)
void
LoaderInit(void)
{
const char *osname = NULL;
char *ld_bind_now = getenv("LD_BIND_NOW");
if (ld_bind_now && *ld_bind_now) {
xf86Msg(X_ERROR, "LD_BIND_NOW is set, dlloader will NOT work!\n");
@ -139,10 +137,6 @@ LoaderInit(void)
GET_ABI_MAJOR(LoaderVersionInfo.extensionVersion),
GET_ABI_MINOR(LoaderVersionInfo.extensionVersion));
LoaderGetOS(&osname, NULL, NULL, NULL);
if (osname)
xf86MsgVerb(X_INFO, 2, "Loader running on %s\n", osname);
#if defined(__UNIXWARE__) && !defined(__GNUC__)
/* For UnixWare we need to load the C Runtime libraries which are
* normally auto-linked by the compiler. Otherwise we are bound to