提交 a6631bc8 编写于 作者: M Michel Thierry 提交者: Daniel Vetter

drm/i915: Remove unused variable from execlists_context_queue

After commit d7b9ca2f
("drm/i915: Remove request->uniq")

dev_priv is no longer needed.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: NMichel Thierry <michel.thierry@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 249e87de
...@@ -523,7 +523,6 @@ static int execlists_context_queue(struct intel_engine_cs *ring, ...@@ -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 *request)
{ {
struct drm_i915_gem_request *cursor; struct drm_i915_gem_request *cursor;
struct drm_i915_private *dev_priv = ring->dev->dev_private;
int num_elements = 0; int num_elements = 0;
if (to != ring->default_context) if (to != ring->default_context)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册