drm/i915: fix warning for unused variable
authorJani Nikula <jani.nikula@intel.com>
Thu, 8 Jun 2017 13:58:23 +0000 (16:58 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 8 Jun 2017 14:09:44 +0000 (17:09 +0300)
commitef6c4d75e35345f8f362d6754bcd9a28292a897c
treedef3eca603a793d5a28a1191698fbdf1247c405e
parent1065467ed8e2601bf2d7018cf47c557ccbea3769
drm/i915: fix warning for unused variable

drivers/gpu/drm/i915/intel_engine_cs.c: In function ‘intel_engine_is_idle’:
drivers/gpu/drm/i915/intel_engine_cs.c:1103:27: error: unused variable ‘dev_priv’ [-Werror=unused-variable]
  struct drm_i915_private *dev_priv = engine->i915;
                           ^~~~~~~~

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c