drm/i915: Remove dead code from skl_pipe_wm_get_hw_state()

There is nothing else to be executed after this if block.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210212182201.155043-2-jose.souza@intel.com
This commit is contained in:
José Roberto de Souza 2021-02-12 10:22:00 -08:00
parent b2423184ac
commit 44bd8e1cdc

View File

@ -6182,9 +6182,6 @@ void skl_pipe_wm_get_hw_state(struct intel_crtc *crtc,
skl_wm_level_from_reg_val(val, &wm->trans_wm);
}
if (!crtc->active)
return;
}
void skl_wm_get_hw_state(struct drm_i915_private *dev_priv)