From: Marek Olšák Date: Tue, 2 Aug 2011 23:47:57 +0000 (+0200) Subject: r600g: remove now-unused r600_bo::size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdbb8a195a3581faa7b569997fa84fb9bceffaa4;p=mesa.git r600g: remove now-unused r600_bo::size Reviewed-by: Alex Deucher --- diff --git a/src/gallium/winsys/r600/drm/r600_bo.c b/src/gallium/winsys/r600/drm/r600_bo.c index 4918897be67..9fc799a1586 100644 --- a/src/gallium/winsys/r600/drm/r600_bo.c +++ b/src/gallium/winsys/r600/drm/r600_bo.c @@ -66,7 +66,6 @@ struct r600_bo *r600_bo(struct radeon *radeon, } bo = calloc(1, sizeof(struct r600_bo)); - bo->size = size; bo->domains = domains; bo->bo = rbo; @@ -88,7 +87,6 @@ struct r600_bo *r600_bo_handle(struct radeon *radeon, struct winsys_handle *whan } pipe_reference_init(&bo->reference, 1); - bo->size = rbo->size; bo->domains = (RADEON_GEM_DOMAIN_CPU | RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM); diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 99c238e04e6..0b757a84953 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -88,7 +88,6 @@ struct radeon_bo { struct r600_bo { struct pipe_reference reference; /* this must be the first member for the r600_bo_reference inline to work */ /* DO NOT MOVE THIS ^ */ - unsigned size; unsigned domains; struct radeon_bo *bo; unsigned fence;