diff options
| author | Jesse Zhang <[email protected]> | 2024-06-05 15:44:38 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-14 15:34:10 -0400 |
| commit | 27b500b77b82bd18c9357111fb639dcbdda31c26 (patch) | |
| tree | a41a79aa2a43e9841f8a80c8d5d10fe069e1316e /tools/perf/scripts/python/check-perf-trace.py | |
| 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 <[email protected]>
Suggested-by: Tim Huang <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions