diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-05-11 17:48:41 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-05-12 17:11:57 +0200 |
commit | e1e962c5b9edbc628a335bcdbd010331a12d3e5b (patch) | |
tree | d525280ad1ad6efed4993c9c35d9dac98625ce6e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5c84c1b84bd80a735b2c7804e7be86d043fca595 (diff) |
cpufreq: Reorganize checks in cpufreq_offline()
Notice that cpufreq_offline() only needs to check policy_is_inactive()
once and rearrange the code in there to make that happen.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions