Re: [PATCH 1/2] drm/amd/display: Remove redundant check

2024-11-13 Thread Alex Hung
On 11/11/24 05:08, Bhavin Sharma wrote: The mode_422 variable is initialized to zero, making mode_422 ? 2 : 1 always false. Since is_dsc_possible is already checked just above, there's no need to check it again before filling out the DSC settings. Removing this redundant check simplifies the

[PATCH 1/2] drm/amd/display: Remove redundant check

2024-11-11 Thread Bhavin Sharma
The mode_422 variable is initialized to zero, making mode_422 ? 2 : 1 always false. Since is_dsc_possible is already checked just above, there's no need to check it again before filling out the DSC settings. Removing this redundant check simplifies the code without affecting functionality. Signe