6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jonathan Gray <jsg@xxxxxxxxx> This reverts commit a53841b074cc196c3caaa37e1f15d6bc90943b97. duplicated a change made in 6.6.46 718d83f66fb07b2cab89a1fc984613a00e3db18f Cc: stable@xxxxxxxxxxxxxxx # 6.6 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 @@ -1269,9 +1269,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 */