diff options
author | Adam Jackson <ajax@redhat.com> | 2009-05-28 14:54:17 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-05-28 14:54:17 -0400 |
commit | 8fe24e48acc7ec03972ee0acb5d7ab205ecbf7e0 (patch) | |
tree | aa84df7dc87c54f98b958818de6d182c7f1bd099 | |
parent | 17885c5cb1dbcfb48ee593260bcd1b1ff2887989 (diff) |
Remove useless loader symbol lists.
-rw-r--r-- | src/dummy_driver.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 1f44d7e..6f4b562 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -125,30 +125,6 @@ static const OptionInfoRec DUMMYOptions[] = { { -1, NULL, OPTV_NONE, {0}, FALSE } }; - -/* - * List of symbols from other modules that this module references. This - * list is used to tell the loader that it is OK for symbols here to be - * unresolved providing that it hasn't been told that they haven't been - * told that they are essential via a call to xf86LoaderReqSymbols() or - * xf86LoaderReqSymLists(). The purpose is this is to avoid warnings about - * unresolved symbols that are not required. - */ - -static const char *fbSymbols[] = { - "fbPictureInit", - "fbScreenInit", - NULL -}; - -static const char *ramdacSymbols[] = { - "xf86CreateCursorInfoRec", - "xf86DestroyCursorInfoRec", - "xf86InitCursor", - NULL -}; - - #ifdef XFree86LOADER static MODULESETUPPROTO(dummySetup); @@ -188,11 +164,6 @@ dummySetup(pointer module, pointer opts, int *errmaj, int *errmin) */ /* - * Tell the loader about symbols from other modules that this module - * might refer to. - */ - LoaderRefSymLists(fbSymbols, ramdacSymbols, NULL); - /* * The return value must be non-NULL on success even though there * is no TearDownProc. */ @@ -470,12 +441,10 @@ DUMMYPreInit(ScrnInfoPtr pScrn, int flags) if (xf86LoadSubModule(pScrn, "fb") == NULL) { RETURN; } - xf86LoaderReqSymLists(fbSymbols, NULL); if (!dPtr->swCursor) { if (!xf86LoadSubModule(pScrn, "ramdac")) RETURN; - xf86LoaderReqSymLists(ramdacSymbols, NULL); } /* We have no contiguous physical fb in physical memory */ |