[igt-dev] [PATCH i-g-t v6 3/4] lib/intel_batchbuffer: Removal of state variable from a intel_batchbuffer structure

Lukasz Kalamarz lukasz.kalamarz at intel.com
Tue Apr 24 08:32:11 UTC 2018


With a removal of all references to state variable there is
no longer any need to keep it in structure.
v5: Rebase

Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz at intel.com>
Cc: Katarzyna Dec <katarzyna.dec at intel.com>
Cc: Radoslaw Szwichtenberg <radoslaw.szwichtenberg at intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Reviewed-by: Katarzyna Dec <katarzyna.dec at intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
---
 lib/intel_batchbuffer.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 2c262d7..6744bcb 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -21,7 +21,6 @@ struct intel_batchbuffer {
 
 	uint8_t buffer[BATCH_SZ];
 	uint8_t *ptr, *end;
-	uint8_t *state;
 };
 
 struct intel_batchbuffer *intel_batchbuffer_alloc(drm_intel_bufmgr *bufmgr,
-- 
2.9.5



More information about the igt-dev mailing list