summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLuben Tuikov <luben.tuikov@amd.com>2023-03-23 08:46:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-03-31 18:18:32 +0300
commit8782007b5f5795f118c5167f46d8c8142abcc92f (patch)
tree5c708ac9045a9269e09813d1e6d9b4844b44a401 /tools/perf/scripts/python/task-analyzer.py
parent1bb745d7596d2b368fd9afb90473f3581495e39d (diff)
downloadlinux-8782007b5f5795f118c5167f46d8c8142abcc92f.tar.xz
drm/amdgpu: Return from switch early for EEPROM I2C address
As soon as control->i2c_address is set, return; remove the "break;" from the switch--it is unnecessary. This mimics what happens when for some cases in the switch, we call helper functions with "return <helper function>". Remove final function "return true;" to indicate that the switch is final and terminal, and that there should be no code after the switch. Cc: Candice Li <candice.li@amd.com> Cc: Kent Russell <kent.russell@amd.com> Cc: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions