[Beignet] [PATCH] Delete the redundant intel_batchbuffer_t init in intel_gpgpu_new
junyan.he at inbox.com
junyan.he at inbox.com
Thu Oct 10 19:43:41 PDT 2013
From: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
src/intel/intel_gpgpu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c
index 5d93a67..21cf09b 100644
--- a/src/intel/intel_gpgpu.c
+++ b/src/intel/intel_gpgpu.c
@@ -158,7 +158,6 @@ intel_gpgpu_new(intel_driver_t *drv)
state->drv = drv;
state->batch = intel_batchbuffer_new(state->drv);
assert(state->batch);
- intel_batchbuffer_init(state->batch, state->drv);
exit:
return state;
--
1.7.9.5
More information about the Beignet
mailing list