summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-05-28 15:01:49 -0400
committerAdam Jackson <ajax@redhat.com>2009-05-28 15:01:49 -0400
commitf0b06cc27bdea5a8f9263bdc4b500f74feb6aa13 (patch)
tree4175a5d74da51f732bcc4b70b33175b8638b6a15
parent36ffb310bca84e3fe56ec19b0f2345ca3be1d180 (diff)
Remove useless loader symbol lists.
-rw-r--r--src/impact_driver.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/impact_driver.c b/src/impact_driver.c
index bbad948..924db4a 100644
--- a/src/impact_driver.c
+++ b/src/impact_driver.c
@@ -124,19 +124,6 @@ static SymTabRec ImpactChipsets[] = {
{ -1, NULL }
};
-/* List of Symbols from other modules that this module references */
-
-static const char *fbSymbols[] = {
- "fbPictureInit",
- "fbScreenInit",
- NULL
-};
-
-static const char *shadowSymbols[] = {
- "ShadowFBInit",
- NULL
-};
-
#ifdef XFree86LOADER
static MODULESETUPPROTO(impactSetup);
@@ -171,11 +158,6 @@ impactSetup(pointer module, pointer opts, int *errmaj, int *errmin)
setupDone = TRUE;
xf86AddDriver(&IMPACT, module, 0);
/*
- * Tell the loader about symbols from other modules that this module
- * might refer to.
- */
- LoaderRefSymLists(fbSymbols, shadowSymbols, NULL);
- /*
* The return value must be non-NULL on success even though
* there is no TearDownProc.
*/
@@ -499,14 +481,10 @@ ImpactPreInit(ScrnInfoPtr pScrn, int flags)
if ( !(pFbMod = xf86LoadSubModule(pScrn,"fb")) )
goto out_freeopt;
- xf86LoaderReqSymLists( fbSymbols, NULL);
-
/* Load ShadowFB module */
if ( !xf86LoadSubModule(pScrn,"shadowfb") )
goto out_freemod;
- xf86LoaderReqSymLists(shadowSymbols, NULL);
-
return TRUE;
out_freemod: