loader: Remove unused module serial number
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
2a24a013bf
commit
3a26e7f459
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user