diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2023-10-25 20:22:24 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-11-28 16:02:14 +0100 |
commit | 0458d536ae97c5107b81810778d050da04d83fa2 (patch) | |
tree | 972fa1576cbd209cd492a4749924587f9c11d653 /tools/perf/scripts/python/gecko.py | |
parent | 30e1178c100df8c8560f4d338fdb6f4fcd27e676 (diff) |
thermal: gov_power_allocator: Remove excessive local variables
Local variable 'ret' in allocate_power() is only used in the return
statement, so drop it.
Local variable 'trip_max' in allocate_power() is only used for caching
the params->trip_max value which may as well be accessed directly as
needed, so drop it either.
This change is not expected to alter the general functionality.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions