drm/i915: Remove unused variable from execlists_context_queue
authorMichel Thierry <michel.thierry@intel.com>
Fri, 10 Apr 2015 10:24:27 +0000 (11:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 14:34:44 +0000 (16:34 +0200)
After commit d7b9ca2f7a41cd36f5ca6c220df48ca9294ed37a
("drm/i915: Remove request->uniq")

dev_priv is no longer needed.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c

index aa3ea64e481562354dedac7426fb74268107a107..0fc35dd8a15cb49711ceac31bd58ea9ed4daee92 100644 (file)
@@ -523,7 +523,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)