]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaaf9b00a75a21624c184289581b34159ed68b55a
treedef3eca603a793d5a28a1191698fbdf1247c405e
parent02165e354e7b25ead359ef81663ea22e63f39c99
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