diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-06-19 17:19:29 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-07 13:38:48 -0400 |
| commit | 0c2d77beedcb5a0aaf18e1d5cae2b420433bd878 (patch) | |
| tree | bf75ffd7a56bd8335ca4d0d41f2932dda5ad1bf5 /tools/perf/scripts/python | |
| parent | 44a4f50d5032c3e1e866251ea9028b656934a26b (diff) | |
drm/amd/display: Remove else after return in 'dm_crtc_get_scanoutpos()'
Conform to Linux kernel coding style.
Reported by checkpatch:
WARNING: else is not generally useful after a break or return
Expressions under 'else' branch in function 'dm_crtc_get_scanoutpos' are
executed whenever the expression in 'if' is False. Otherwise, return
from function occurs. Therefore, there is no need in 'else', and it has
been removed.
Cc: Alex Deucher <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions