r600g: remove now-unused r600_bo::size
authorMarek Olšák <maraeo@gmail.com>
Tue, 2 Aug 2011 23:47:57 +0000 (01:47 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 07:15:10 +0000 (09:15 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/r600/drm/r600_bo.c
src/gallium/winsys/r600/drm/r600_priv.h

index 4918897be67c6fe27ac31d1504ff8a00879ad306..9fc799a158667e3235a219343f189270fb22262d 100644 (file)
@@ -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);
index 99c238e04e6cf11efa5cc1926faea57718b83497..0b757a84953a57aba708fd155f4e9db74a49bcc4 100644 (file)
@@ -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;