mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
drm/amd/display: Remove NO_EFFECT self-assignment
[WHAT & HOW] The self-assignments have no effects and thus are removed. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fe6f61d472
commit
2037646406
|
|
@ -8919,10 +8919,6 @@ static bool dml_core_mode_support(struct dml2_core_calcs_mode_support_ex *in_out
|
|||
} // prefetch schedule
|
||||
}
|
||||
|
||||
for (k = 0; k < mode_lib->ms.num_active_planes; ++k) {
|
||||
mode_lib->ms.use_one_row_for_frame[k] = mode_lib->ms.use_one_row_for_frame[k];
|
||||
}
|
||||
|
||||
s->mSOCParameters.UrgentLatency = mode_lib->ms.UrgLatency;
|
||||
s->mSOCParameters.ExtraLatency = mode_lib->ms.ExtraLatency;
|
||||
s->mSOCParameters.ExtraLatency_sr = mode_lib->ms.ExtraLatency_sr;
|
||||
|
|
|
|||
|
|
@ -2647,10 +2647,6 @@ bool dml2_core_shared_mode_support(struct dml2_core_calcs_mode_support_ex *in_ou
|
|||
} // prefetch schedule
|
||||
}
|
||||
|
||||
for (k = 0; k < mode_lib->ms.num_active_planes; ++k) {
|
||||
mode_lib->ms.use_one_row_for_frame[k] = mode_lib->ms.use_one_row_for_frame[k];
|
||||
}
|
||||
|
||||
s->mSOCParameters.UrgentLatency = mode_lib->ms.UrgLatency;
|
||||
s->mSOCParameters.ExtraLatency = mode_lib->ms.ExtraLatency;
|
||||
s->mSOCParameters.ExtraLatency_sr = mode_lib->ms.ExtraLatency_sr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user