summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-02 09:22:40 +0100
committerCarl Worth <cworth@cworth.org>2010-03-04 09:38:37 -0800
commit2fb8feeb56fae364380ffd91749eeb69fb461cff (patch)
treebc8f092b497fe8751377be0030237b04efe18882 /src/i830_memory.c
parent4d4d763b3d96e2cac99a0b7b03ad9bcaf4465c61 (diff)
i830_memory: rip out field "size"
Use the one in the drm bo instead. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 8d0d1d41..434ec385 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -275,7 +275,6 @@ i830_memory *i830_allocate_memory(ScrnInfoPtr scrn, const char *name,
return NULL;
}
- mem->size = size;
mem->pitch = pitch;
ret = drm_intel_bo_set_tiling(mem->bo, &tiling_mode, pitch);