aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>2023-06-19 17:19:29 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-07-07 13:38:48 -0400
commit0c2d77beedcb5a0aaf18e1d5cae2b420433bd878 (patch)
treebf75ffd7a56bd8335ca4d0d41f2932dda5ad1bf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/display: Remove else after return statement in 'dm_update_plane_state' (diff)
downloadwireguard-linux-0c2d77beedcb5a0aaf18e1d5cae2b420433bd878.tar.xz
wireguard-linux-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 <alexander.deucher@amd.com> Cc: Harry Wentland <harry.wentland@amd.com> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions