drm/amd/display: Remove duplicate/repeating expression
authorDeepak R Varma <drv@mailo.com>
Fri, 10 Feb 2023 10:11:51 +0000 (15:41 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Feb 2023 03:24:48 +0000 (22:24 -0500)
commit578292aaecfea58cdae0f0b2275cfffc4d47f048
tree4868c56327e2e3339fd4f9fcf2fbb03eb1c0e331
parent60b07cf5d3462ec0183d463b43619e98bc63c951
drm/amd/display: Remove duplicate/repeating expression

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/dcn314/display_rq_dlg_calc_314.c