Commit e26b51c
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>1 parent 578292a commit e26b51c
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
2356 | | - | |
2357 | | - | |
| 2356 | + | |
2358 | 2357 | | |
2359 | 2358 | | |
2360 | 2359 | | |
| |||
3663 | 3662 | | |
3664 | 3663 | | |
3665 | 3664 | | |
3666 | | - | |
3667 | 3665 | | |
3668 | 3666 | | |
3669 | 3667 | | |
| |||
0 commit comments