aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-06-19 11:49:29 +0000
committerAlex Deucher <[email protected]>2023-07-07 17:38:48 +0000
commit0c2d77beedcb5a0aaf18e1d5cae2b420433bd878 (patch)
treebf75ffd7a56bd8335ca4d0d41f2932dda5ad1bf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: Remove else after return statement in 'dm_update_plane_state' (diff)
downloadkernel-0c2d77beedcb5a0aaf18e1d5cae2b420433bd878.tar.gz
kernel-0c2d77beedcb5a0aaf18e1d5cae2b420433bd878.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions