aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2023-01-15 15:30:38 +0530
committerAlex Deucher <[email protected]>2023-03-07 14:21:56 -0500
commit7bb3956178e5eaeeab5134cf38e0f057bc2344c2 (patch)
treed454dd8d8d1b3e07c73d90f5ad31d474a42c83b1 /scripts/basic
parent7cb3cfc030640bf860bf8299aa00cdffff92a40c (diff)
drm/amd/display: Simplify same effect if/else blocks
The if / else block code has same effect irrespective of the logical evaluation. Hence, simply the implementation by removing the unnecessary conditional evaluation. While at it, also fix the long line checkpatch complaint. Issue identified using cond_no_effect.cocci Coccinelle semantic patch script. Fixes: 9114b55fabae ("drm/amd/display: Fix SubVP control flow in the MPO context") Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Deepak R Varma <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions