mirror of https://gitee.com/openkylin/linux.git
drm/i915: Remove excess indent in intel_finish_reset() caught by sparse
CHECK drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_display.c:3753 intel_finish_reset() warn: inconsistent indenting Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20170828104604.8552-1-chris@chris-wilson.co.uk Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8bd719587d
commit
942d5d0dc4
|
@ -3750,8 +3750,8 @@ void intel_finish_reset(struct drm_i915_private *dev_priv)
|
|||
if (!gpu_reset_clobbers_display(dev_priv)) {
|
||||
/* for testing only restore the display */
|
||||
ret = __intel_display_resume(dev, state, ctx);
|
||||
if (ret)
|
||||
DRM_ERROR("Restoring old state failed with %i\n", ret);
|
||||
if (ret)
|
||||
DRM_ERROR("Restoring old state failed with %i\n", ret);
|
||||
} else {
|
||||
/*
|
||||
* The display has been reset as well,
|
||||
|
|
Loading…
Reference in New Issue