6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jonathan Gray <jsg@xxxxxxxxx> This reverts commit 6f9c39e8169384d2a5ca9bf323a0c1b81b3d0f3a. duplicated a change made in 6.10.5 70275bb960c71d313254473d38c14e7101cee5ad Cc: stable@xxxxxxxxxxxxxxx # 6.10 Signed-off-by: Jonathan Gray <jsg@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -1267,9 +1267,6 @@ static bool is_dsc_need_re_compute( if (new_stream_on_link_num == 0) return false; - if (new_stream_on_link_num == 0) - return false; - /* check current_state if there stream on link but it is not in * new request state */