summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-01-26 07:53:05 -0500
committerAdam Jackson <ajax@redhat.com>2009-02-04 22:44:12 -0500
commit366f23c6eb504fc23112f121769bcb719948474f (patch)
treeb1b5a3fe06a2d883d8b64064714753191569609f
parent05e415a5a3f376e28955be3bf976390e8631e25f (diff)
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.
-rw-r--r--hw/xfree86/loader/loader.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c
index 56016d285..5bd221f01 100644
--- a/hw/xfree86/loader/loader.c
+++ b/hw/xfree86/loader/loader.c
@@ -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