diff options
author | 2025-06-23 21:33:59 +0800 | |
---|---|---|
committer | 2025-07-14 19:38:10 +0200 | |
commit | 5d6ecaaa922611ec3ca067723ccefafb543010ee (patch) | |
tree | 449ebc49cb22ca7157c5016c253fd3e3b7e26edf /tools/perf/scripts/python | |
parent | cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrs (diff) | |
download | wireguard-linux-5d6ecaaa922611ec3ca067723ccefafb543010ee.tar.xz wireguard-linux-5d6ecaaa922611ec3ca067723ccefafb543010ee.zip |
cpufreq: Remove duplicate check in __cpufreq_offline()
The has_target() checks in __cpufreq_offline() are duplicate.
Remove one of them and put the operations of exiting governor together
with storing last governor's name.
Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20250623133402.3120230-5-zhenglifeng1@huawei.com
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