diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-06-05 15:44:38 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 15:34:10 -0400 |
commit | 27b500b77b82bd18c9357111fb639dcbdda31c26 (patch) | |
tree | a41a79aa2a43e9841f8a80c8d5d10fe069e1316e /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
parent | 57a0d65bd1d0bb22c9a73ddf61e91b3478706522 (diff) |
drm/amdgpu: remove dead code in atom_get_src_int
Since the range of align is 0~7, the expression is: align = (attr >> 3) & 7.
In the case of ATOM_ARG_IMM, the code cannot reach the default case.
So there is no need for "break".
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Suggested-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions