diff options
author | Richard Cochran <[email protected]> | 2016-04-06 17:00:50 -0400 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-04-07 22:10:53 +0200 |
commit | 4a3dfb3fc0fb0fc9acd36c94b7145f9c9dd4d93a (patch) | |
tree | a41662967818967f79a32924c11314c02be991cc /tools/perf/util/trace-event-scripting.c | |
parent | 5469c827d20ab013f43d4f5f94e101d0cf7afd2c (diff) |
intel_idle: Remove redundant initialization calls.
The function, intel_idle_cpuidle_driver_init, makes calls on each CPU
to auto_demotion_disable() and c1e_promotion_disable(). These calls
are redundant, as intel_idle_cpu_init() does the same calls just a bit
later on. They are also premature, as the driver registration may yet
fail.
This patch removes the redundant code.
Signed-off-by: Richard Cochran <[email protected]>
Signed-off-by: Len Brown <[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