diff options
author | Sudeep Holla <[email protected]> | 2017-08-10 15:58:57 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-08-18 01:41:37 +0200 |
commit | b20a3f3d8a3516dcde2d1fb130169f336bc93023 (patch) | |
tree | 2326d437126871375a620c5ff23a3f43da1f59d5 /tools/perf/scripts/python/syscall-counts.py | |
parent | ccc03d86e2c81667664f805f4e1b84c80aa7b3bf (diff) |
cpufreq: remove setting of policy->cpu in policy->cpus during init
policy->cpu is copied into policy->cpus in cpufreq_online() before
calling into cpufreq_driver->init(). So there's no need to set the
same in the individual driver init() functions again.
This patch removes the redundant setting of policy->cpu in policy->cpus
in intel_pstate and cppc drivers.
Reported-by: Viresh Kumar <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions