drm/i915: Remove duplicated psr.active unset
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 25 Mar 2015 19:18:23 +0000 (12:18 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 12:04:37 +0000 (13:04 +0100)
psr.active is being unset out of the if so this here is useless and
duplicated.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_psr.c

index b9f40c2e0af720ff3d8f18c4a53dcd187adb4eee..a8f9348259ae581f977ee1a244f1734947ef0be1 100644 (file)
@@ -532,8 +532,6 @@ static void intel_psr_exit(struct drm_device *dev)
                WARN_ON(!(val & EDP_PSR_ENABLE));
 
                I915_WRITE(EDP_PSR_CTL(dev), val & ~EDP_PSR_ENABLE);
-
-               dev_priv->psr.active = false;
        } else {
                val = I915_READ(VLV_PSRCTL(pipe));