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

Lukasz Kalamarz lukasz.kalamarz at intel.com
Fri Apr 20 11:15:27 UTC 2018


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

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>
---
 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