diff options
author | Liao Chang <[email protected]> | 2023-09-08 03:16:04 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-10-06 21:51:40 +0200 |
commit | 16a03c71bba012b4cc31f34e00007c34ef5a58df (patch) | |
tree | 5c013120cc10bd87d7ab84d71cfa56ece2be0361 /tools/perf/util/trace-event-scripting.c | |
parent | 37b6ddba967c601479bea418a7ac6ff16b6232b7 (diff) |
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 <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions