diff options
author | 2022-11-03 15:04:31 +0000 | |
---|---|---|
committer | 2022-11-03 19:13:34 +0100 | |
commit | 59fdc42793252852e1ca95d1355e9ed0fc2a0612 (patch) | |
tree | 63779cbef20751733a9fd269238790852bea3b21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: ACPI: Use str_enabled_disabled() helper (diff) | |
download | wireguard-linux-59fdc42793252852e1ca95d1355e9ed0fc2a0612.tar.xz wireguard-linux-59fdc42793252852e1ca95d1355e9ed0fc2a0612.zip |
cpufreq: longhaul: Make array speeds static const
Don't populate the read-only array speeds on the stack but instead
make it static. Also makes the object code a little smaller. Replace
hard-coded loop array bounds with ARRAY_SIZE.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions