diff options
author | 2024-08-27 13:50:45 -0500 | |
---|---|---|
committer | 2024-09-11 10:23:22 -0500 | |
commit | 3355ac2541052154b6ca0b1263be5bf49dfa0158 (patch) | |
tree | e7c9bfe5d149927944094b538547f6f5b5dda10f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/amd: Rename amd_get_highest_perf() to amd_get_boost_ratio_numerator() (diff) | |
download | linux-rng-3355ac2541052154b6ca0b1263be5bf49dfa0158.tar.xz linux-rng-3355ac2541052154b6ca0b1263be5bf49dfa0158.zip |
ACPI: CPPC: Drop check for non zero perf ratio
perf_ratio is a u64 and SCHED_CAPACITY_SCALE is a large number.
Shifting by one will never have a zero value.
Drop the check.
Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.sheoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions