From: Michel Thierry Date: Fri, 10 Apr 2015 10:24:27 +0000 (+0100) Subject: drm/i915: Remove unused variable from execlists_context_queue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6631bc8d60d4c3159bc3dd0897664096f9e9ccd;p=openwrt%2Fstaging%2Fblogic.git drm/i915: Remove unused variable from execlists_context_queue After commit d7b9ca2f7a41cd36f5ca6c220df48ca9294ed37a ("drm/i915: Remove request->uniq") dev_priv is no longer needed. Cc: Chris Wilson Signed-off-by: Michel Thierry Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index aa3ea64e4815..0fc35dd8a15c 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -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)