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:
parent
b2423184ac
commit
44bd8e1cdc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user