summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-05-28 15:28:20 -0400
committerAdam Jackson <ajax@redhat.com>2009-05-28 15:28:20 -0400
commitbce9fd21483fbeddc84672a1ef01fdd9b58c88ed (patch)
tree7cb61511029f09ba54a02147fbba1e45c31152a8
parentbb53781f1e274dd9adef4038bd1b06bea2d55c35 (diff)
Remove useless loader symbol lists.
-rw-r--r--src/wsfb_driver.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index bb33a79..f709c51 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -183,22 +183,6 @@ static const OptionInfoRec WsfbOptions[] = {
{ -1, NULL, OPTV_NONE, {0}, FALSE}
};
-/* Symbols needed from other modules */
-static const char *fbSymbols[] = {
- "fbPictureInit",
- "fbScreenInit",
- NULL
-};
-static const char *shadowSymbols[] = {
- "shadowAdd",
- "shadowSetup",
- "shadowUpdatePacked",
- "shadowUpdatePackedWeak",
- "shadowUpdateRotatePacked",
- "shadowUpdateRotatePackedWeak",
- NULL
-};
-
#ifdef XFree86LOADER
static XF86ModuleVersionInfo WsfbVersRec = {
"wsfb",
@@ -236,7 +220,6 @@ WsfbSetup(pointer module, pointer opts, int *errmaj, int *errmin)
if (!setupDone) {
setupDone = TRUE;
xf86AddDriver(&WSFB, module, HaveDriverFuncs);
- LoaderRefSymLists(fbSymbols, shadowSymbols, NULL);
return (pointer)1;
} else {
if (errmaj != NULL)
@@ -667,19 +650,11 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags)
WsfbFreeRec(pScrn);
return FALSE;
}
- xf86LoaderReqSymLists(shadowSymbols, NULL);
}
if (mod && xf86LoadSubModule(pScrn, mod) == NULL) {
WsfbFreeRec(pScrn);
return FALSE;
}
- if (mod) {
- if (reqSym) {
- xf86LoaderReqSymbols(reqSym, NULL);
- } else {
- xf86LoaderReqSymLists(fbSymbols, NULL);
- }
- }
TRACE_EXIT("PreInit");
return TRUE;
}