[Intel-gfx] [PATCH] drm/i915: Remove unused variable from execlists_context_queue

Daniel Vetter daniel at ffwll.ch
Fri Apr 10 07:34:57 PDT 2015


On Fri, Apr 10, 2015 at 11:24:27AM +0100, Michel Thierry wrote:
> After commit d7b9ca2f7a41cd36f5ca6c220df48ca9294ed37a
> ("drm/i915: Remove request->uniq")
> 
> dev_priv is no longer needed.
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Michel Thierry <michel.thierry at intel.com>

Queued for -next, thanks for the patch.
-Daniel
> ---
>  drivers/gpu/drm/i915/intel_lrc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
> index 4057c07..59a0676 100644
> --- a/drivers/gpu/drm/i915/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/intel_lrc.c
> @@ -554,7 +554,6 @@ static int execlists_context_queue(struct intel_engine_cs *ring,
>  				   struct drm_i915_gem_request *request)
>  {
>  	struct drm_i915_gem_request *cursor;
> -	struct drm_i915_private *dev_priv = ring->dev->dev_private;
>  	int num_elements = 0;
>  
>  	if (to != ring->default_context)
> -- 
> 2.1.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list