summaryrefslogtreecommitdiff
path: root/Xext/xvmc.c
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2012-07-10 02:03:08 +0100
committerKeith Packard <keithp@keithp.com>2012-07-09 23:28:37 -0700
commit5d92ee4081a23a6b4d1f9ba2a98985f539f99312 (patch)
tree680b217768541a0b7a67af9679bc5f11f385618b /Xext/xvmc.c
parent2e6c5f959153cdcea4bcf719621ebec408250f54 (diff)
Xv: Remove excessive module-induced indirection
Xv used to call XvScreenInit and co. through function pointers, as XvScreenInit may have been sitting on the other side of a module boundary from xf86XvScreenInit. Why this was so is a mystery, but make it not so any more. Signed-off-by: Tomas Carnecky <tom@dbservice.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xvmc.c')
-rw-r--r--Xext/xvmc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Xext/xvmc.c b/Xext/xvmc.c
index 910adf48b..ad7956bad 100644
--- a/Xext/xvmc.c
+++ b/Xext/xvmc.c
@@ -764,12 +764,6 @@ XvMCScreenInit(ScreenPtr pScreen, int num, XvMCAdaptorPtr pAdapt)
return Success;
}
-void
-XvMCRegister(void)
-{
- XvMCScreenInitProc = XvMCScreenInit;
-}
-
XvImagePtr
XvMCFindXvImage(XvPortPtr pPort, CARD32 id)
{