Skip to content

Commit 8e317a8

Browse files
srishanmalexdeucher
authored andcommitted
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]>
1 parent 151374f commit 8e317a8

File tree

1 file changed

+0
-1
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+0
-1
lines changed

drivers/gpu/drm/amd/amdgpu/atom.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr)
395395
(*ptr)++;
396396
return;
397397
}
398-
return;
399398
}
400399
}
401400

0 commit comments

Comments
 (0)