diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-07-10 02:03:28 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-10 00:31:02 -0700 |
commit | a15dac550918c55b08bbe0007f068cc5096ebaa1 (patch) | |
tree | a6309e39953e8a4bfdc45f1d97030975a31aa4c3 /hw/xfree86/common/xf86Extensions.c | |
parent | 710318e803c6d5c6b8ae170d38c8253f5d780472 (diff) |
Remove unused setupFunc from extensions
setupFunc was used as an early callback for half-modular extensions such
as Xv, XvMC and DGA to set up hooks between the core server and the
modular component. Now we've rid ourselves of that, we can also bin
setupFunc.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/common/xf86Extensions.c')
-rw-r--r-- | hw/xfree86/common/xf86Extensions.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/hw/xfree86/common/xf86Extensions.c b/hw/xfree86/common/xf86Extensions.c index 8cbeedf3b..d5309d558 100644 --- a/hw/xfree86/common/xf86Extensions.c +++ b/hw/xfree86/common/xf86Extensions.c @@ -58,32 +58,28 @@ static ExtensionModule extensionModules[] = { { XFree86VidModeExtensionInit, XF86VIDMODENAME, - &noXFree86VidModeExtension, - NULL + &noXFree86VidModeExtension }, #endif #ifdef XFreeXDGA { XFree86DGAExtensionInit, XF86DGANAME, - &noXFree86DGAExtension, - NULL + &noXFree86DGAExtension }, #endif #ifdef XF86DRI { XFree86DRIExtensionInit, "XFree86-DRI", - &noXFree86DRIExtension, - NULL + &noXFree86DRIExtension }, #endif #ifdef DRI2 { DRI2ExtensionInit, DRI2_NAME, - &noDRI2Extension, - NULL + &noDRI2Extension } #endif }; |