[Beignet] [PATCH] Delete the redundant intel_batchbuffer_t init in intel_gpgpu_new

Zhigang Gong zhigang.gong at linux.intel.com
Mon Oct 14 02:41:54 PDT 2013


Pushed, thanks.

On Fri, Oct 11, 2013 at 10:43:41AM +0800, junyan.he at inbox.com wrote:
> 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
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list