]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Remove duplicate/repeating expressions
authorDeepak R Varma <drv@mailo.com>
Fri, 10 Feb 2023 10:00:43 +0000 (15:30 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Feb 2023 03:24:53 +0000 (22:24 -0500)
commite26b51c79bac2bd808c5b6472087011f7c7259a9
tree32f58ba3c617133645277a8783e71658ec121a46
parent578292aaecfea58cdae0f0b2275cfffc4d47f048
drm/amd/display: Remove duplicate/repeating expressions

Remove duplicate or repeating expressions in the if condition
evaluation. Issue identified using doubletest.cocci Coccinelle semantic
patch.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c