drm/amdgpu: Remove else after return statement in 'gfx_v10_0_check_grbm_cam_remapping'
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Fri, 7 Jul 2023 04:00:48 +0000 (09:30 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Jul 2023 13:02:37 +0000 (09:02 -0400)
commitc7a6c2b6b84b1f3e47a1dafbe8c6a5b7de79d1e6
tree9c915a6fd43dcbc3fc6e4620cc54a01ea5955b70
parent62b73bd50d7d56b8aa0c3ccdaa4c206ec47cc34d
drm/amdgpu: Remove else after return statement in 'gfx_v10_0_check_grbm_cam_remapping'

Fix below checkpatch warnings:

WARNING: else is not generally useful after a break or return
+                       return true;
+               } else {

WARNING: else is not generally useful after a break or return
+                       return true;
+               } else {

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c