mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 09:01:36 -04:00
drm/amd/display: remove possible condition with no effect (if == else)
Conditional statements have no effect to next process.So remove it. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2028 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -4663,10 +4663,6 @@ void dml32_CalculateMinAndMaxPrefetchMode(
|
||||
} else if (AllowForPStateChangeOrStutterInVBlankFinal == dm_prefetch_support_uclk_fclk_and_stutter) {
|
||||
*MinPrefetchMode = 0;
|
||||
*MaxPrefetchMode = 0;
|
||||
} else if (AllowForPStateChangeOrStutterInVBlankFinal ==
|
||||
dm_prefetch_support_uclk_fclk_and_stutter_if_possible) {
|
||||
*MinPrefetchMode = 0;
|
||||
*MaxPrefetchMode = 3;
|
||||
} else {
|
||||
*MinPrefetchMode = 0;
|
||||
*MaxPrefetchMode = 3;
|
||||
|
||||
Reference in New Issue
Block a user