summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-04 10:27:51 -0800
committerEric Anholt <eric@anholt.net>2010-03-04 11:25:14 -0800
commite8e615289213ba1704e402b923c51ce9d196f06f (patch)
tree2c6f721d0023d2fb7a32e0952b4579d8eb06b816 /src/i830_memory.c
parente37b562083aa3293e0c009171724a3f122d8a32d (diff)
Remove i830_allocate_2d_memory() now that it only called one function.
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index d1a2b6b2..ae5e9f0f 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -276,21 +276,6 @@ drm_intel_bo *i830_allocate_framebuffer(ScrnInfoPtr scrn)
return front_buffer;
}
-/*
- * Allocate memory for 2D operation. This includes only the (front)
- * framebuffer now.
- */
-Bool i830_allocate_2d_memory(ScrnInfoPtr scrn)
-{
- intel_screen_private *intel = intel_get_screen_private(scrn);
-
- intel->front_buffer = i830_allocate_framebuffer(scrn);
- if (intel->front_buffer == NULL)
- return FALSE;
-
- return TRUE;
-}
-
/**
* Called at EnterVT to reinit memory related stuff..
*/