summaryrefslogtreecommitdiff
path: root/src/xvmc/i915_xvmc.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-03-13 23:41:22 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-03-13 23:41:22 +0800
commitf269c69b4e7be076dc9838d0e0801c940ccdba08 (patch)
tree2e726b776bb5dd715c430a5bd2dea96c2f46919f /src/xvmc/i915_xvmc.c
parentcd73c6a5a78eac726b14ef242b8452c559c4c003 (diff)
remove unused init/fini hooks for xvmc driver
Diffstat (limited to 'src/xvmc/i915_xvmc.c')
-rw-r--r--src/xvmc/i915_xvmc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/xvmc/i915_xvmc.c b/src/xvmc/i915_xvmc.c
index d27384dd..983b6fdf 100644
--- a/src/xvmc/i915_xvmc.c
+++ b/src/xvmc/i915_xvmc.c
@@ -60,15 +60,6 @@ static char I915KernelDriverName[] = "i915";
static int error_base;
static int event_base;
-static int i915_xvmc_mc_init()
-{
- return 0;
-}
-
-static void i915_xvmc_mc_fini()
-{}
-
-
static int findOverlap(unsigned int width, unsigned int height,
short *dstX, short *dstY,
short *srcX, short *srcY,
@@ -2538,8 +2529,6 @@ struct _intel_xvmc_driver i915_xvmc_mc_driver = {
.type = XVMC_I915_MPEG2_MC,
.num_ctx = 0,
.ctx_list = NULL,
- .init = i915_xvmc_mc_init,
- .fini = i915_xvmc_mc_fini,
.create_context = i915_xvmc_mc_create_context,
.destroy_context = i915_xvmc_mc_destroy_context,
.create_surface = i915_xvmc_mc_create_surface,