drm/i915/display: remove duplicated assignment to pointer crtc_state
Pointer crtc_state is being assigned twice, one of these is redundant and can be removed. Addresses-Coverity: ("Evaluation order violation") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191210144535.341977-1-colin.king@canonical.com
This commit is contained in:
parent
b104e8b200
commit
7b0bcead18
@ -17751,7 +17751,7 @@ intel_modeset_setup_hw_state(struct drm_device *dev,
|
||||
|
||||
for_each_intel_crtc(&dev_priv->drm, crtc) {
|
||||
struct intel_crtc_state *crtc_state =
|
||||
crtc_state = to_intel_crtc_state(crtc->base.state);
|
||||
to_intel_crtc_state(crtc->base.state);
|
||||
|
||||
intel_sanitize_crtc(crtc, ctx);
|
||||
intel_dump_pipe_config(crtc_state, NULL, "[setup_hw_state]");
|
||||
|
Loading…
Reference in New Issue
Block a user