summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-03-04 09:51:03 -0800
committerCarl Worth <cworth@cworth.org>2010-03-04 09:51:03 -0800
commit74e2b69a317cc728b00e675c18d2976987407aec (patch)
tree287b08810ca584c0486b525dcd9ec21a72f66188
parent1cc35a8ba403ad95b67caff46b803db1edea5ad3 (diff)
i915_hwmc: Remove dead code.
Daniel recently identified this code as unneeded (with an #if 0). Here we take the next step and remove it entirely.
-rw-r--r--src/i915_hwmc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c
index 3097e927..8ba122be 100644
--- a/src/i915_hwmc.c
+++ b/src/i915_hwmc.c
@@ -113,17 +113,6 @@ static XF86MCSurfaceInfoPtr ppSI[2] = {
(XF86MCSurfaceInfoPtr) & i915_YV12_mpg1_surface
};
-#if 0
-/* List of subpicture types that we support */
-static XF86ImageRec ia44_subpicture = XVIMAGE_IA44;
-static XF86ImageRec ai44_subpicture = XVIMAGE_AI44;
-
-static XF86ImagePtr i915_subpicture_list[2] = {
- (XF86ImagePtr) & ia44_subpicture,
- (XF86ImagePtr) & ai44_subpicture
-};
-#endif
-
/* Check context size not exceed surface type max */
static void i915_check_context_size(XvMCContextPtr ctx)
{