aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-12-28 17:12:04 +0000
committerAlex Deucher <[email protected]>2024-01-05 21:10:33 +0000
commit8e317a811f3d63760d737c4371783f2e98291d40 (patch)
treec7055dde0bba228a0d3c9a5d50357a097213c0b7 /drivers/gpu/drm/amd/amdgpu/atom.c
parentdrm/amd/display: Removing duplicate copyright text (diff)
downloadkernel-8e317a811f3d63760d737c4371783f2e98291d40.tar.gz
kernel-8e317a811f3d63760d737c4371783f2e98291d40.zip
drm/amdgpu: Remove unreachable code in 'atom_skip_src_int()'
Fixes the below: drivers/gpu/drm/amd/amdgpu/atom.c:398 atom_skip_src_int() warn: ignoring unreachable code. Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/atom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c
index 2c221000782c..a33e890c70d9 100644
--- a/drivers/gpu/drm/amd/amdgpu/atom.c
+++ b/drivers/gpu/drm/amd/amdgpu/atom.c
@@ -395,7 +395,6 @@ static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr)
(*ptr)++;
return;
}
- return;
}
}