[cairo] [PATCH v8 64/71] drm: radeon: dropped unused fields in bo struct

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Thu Jun 30 15:46:42 UTC 2016


Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
 src/drm/cairo-drm-radeon-private.h | 3 ---
 src/drm/cairo-drm-radeon.c         | 8 --------
 2 files changed, 11 deletions(-)

diff --git a/src/drm/cairo-drm-radeon-private.h b/src/drm/cairo-drm-radeon-private.h
index 1987c13..0c9240b 100644
--- a/src/drm/cairo-drm-radeon-private.h
+++ b/src/drm/cairo-drm-radeon-private.h
@@ -38,9 +38,6 @@
 typedef struct _radeon_bo {
     cairo_drm_bo_t base;
 
-    cairo_bool_t in_batch;
-    uint32_t read_domains;
-    uint32_t write_domain;
 } radeon_bo_t;
 
 typedef struct _radeon_device {
diff --git a/src/drm/cairo-drm-radeon.c b/src/drm/cairo-drm-radeon.c
index c8905ce..1bc67df 100644
--- a/src/drm/cairo-drm-radeon.c
+++ b/src/drm/cairo-drm-radeon.c
@@ -209,10 +209,6 @@ radeon_bo_create (radeon_device_t *device,
     bo->base.handle = create.handle;
     bo->base.size = size;
 
-    bo->in_batch = FALSE;
-    bo->read_domains = 0;
-    bo->write_domain = 0;
-
     CAIRO_REFERENCE_COUNT_INIT (&bo->base.ref_count, 1);
     return &bo->base;
 }
@@ -234,10 +230,6 @@ radeon_bo_create_for_name (radeon_device_t *device,
 	return NULL;
     }
 
-    bo->in_batch = FALSE;
-    bo->read_domains = 0;
-    bo->write_domain = 0;
-
     CAIRO_REFERENCE_COUNT_INIT (&bo->base.ref_count, 1);
     return &bo->base;
 }
-- 
2.6.4.442.g545299f



More information about the cairo mailing list