diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-12-28 22:42:04 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-05 16:10:33 -0500 |
commit | 8e317a811f3d63760d737c4371783f2e98291d40 (patch) | |
tree | c7055dde0bba228a0d3c9a5d50357a097213c0b7 /drivers/gpu/drm/amd | |
parent | 151374fb6e17ce966e1db8e1e2b35ea517202779 (diff) | |
download | linux-8e317a811f3d63760d737c4371783f2e98291d40.tar.gz linux-8e317a811f3d63760d737c4371783f2e98291d40.tar.bz2 linux-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 <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atom.c | 1 |
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; } } |