diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-06-19 11:27:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-07 17:38:44 +0000 |
| commit | 44a4f50d5032c3e1e866251ea9028b656934a26b (patch) | |
| tree | a51115e5ed535c24d1d74827c2c1bc20e9da6119 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/display: Clean up errors & warnings in amdgpu_dm.c (diff) | |
| download | kernel-44a4f50d5032c3e1e866251ea9028b656934a26b.tar.gz kernel-44a4f50d5032c3e1e866251ea9028b656934a26b.zip | |
drm/amd/display: Remove else after return statement in 'dm_update_plane_state'
Else is not necessary after return statements, hence remove it.
Reported by checkpatch:
WARNING: else is not generally useful after a break or return
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:9776:
return -EINVAL;
else
Cc: Bhawanpreet Lakha <[email protected]>
Cc: Qingqing Zhuo <[email protected]>
Cc: Nicholas Kazlauskas <[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
