diff options
author | 2023-09-08 03:16:04 +0000 | |
---|---|---|
committer | 2023-10-06 21:51:40 +0200 | |
commit | 16a03c71bba012b4cc31f34e00007c34ef5a58df (patch) | |
tree | 5c013120cc10bd87d7ab84d71cfa56ece2be0361 /tools/perf/scripts/python | |
parent | cpufreq: intel_pstate: Revise global turbo disable check (diff) | |
download | wireguard-linux-16a03c71bba012b4cc31f34e00007c34ef5a58df.tar.xz wireguard-linux-16a03c71bba012b4cc31f34e00007c34ef5a58df.zip |
cpufreq: schedutil: Merge initialization code of sg_cpu in single loop
The initialization code of the per-cpu sg_cpu struct is currently split
into two for-loop blocks. This can be simplified by merging the two
blocks into a single loop. This will make the code more maintainable.
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions