diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c index d51ea928f..580d05914 100644 --- a/hw/xfree86/loader/loader.c +++ b/hw/xfree86/loader/loader.c @@ -107,8 +107,6 @@ extern void *xorg_symbols[]; #define MAX_HANDLE 256 static int refCount[MAX_HANDLE]; -static int moduleseq = 0; - /* Prototypes for static functions. */ static loaderPtr listHead = NULL; @@ -263,7 +261,6 @@ LoaderOpen(const char *module, const char *cname, int handle, tmp->name = strdup(module); tmp->cname = strdup(cname); tmp->handle = new_handle; - tmp->module = moduleseq++; if ((tmp->private = do_dlopen(tmp, flags)) == NULL) { xf86Msg(X_ERROR, "Failed to load %s\n", module); diff --git a/hw/xfree86/loader/loader.h b/hw/xfree86/loader/loader.h index 9695c6c59..42e1518e6 100644 --- a/hw/xfree86/loader/loader.h +++ b/hw/xfree86/loader/loader.h @@ -67,7 +67,6 @@ typedef struct _loader *loaderPtr; typedef struct _loader { int handle; /* Unique id used to remove symbols from * this module when it is unloaded */ - int module; /* Unique id to identify compilation units */ char *name; char *cname; void *private; /* format specific data */