diff options
author | 2020-06-29 13:58:28 +0200 | |
---|---|---|
committer | 2020-06-29 13:58:28 +0200 | |
commit | dab20177b626198603176604c0f85ea1d67044ef (patch) | |
tree | 5720bb93323c2257a35ac096e2cb308c21938479 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.8-rc3 (diff) | |
download | wireguard-linux-dab20177b626198603176604c0f85ea1d67044ef.tar.xz wireguard-linux-dab20177b626198603176604c0f85ea1d67044ef.zip |
intel_idle: Eliminate redundant static variable
The value of the lapic_timer_always_reliable static variable in
the intel_idle driver reflects the boot_cpu_has(X86_FEATURE_ARAT)
value and so it also reflects the static_cpu_has(X86_FEATURE_ARAT)
value.
Hence, the lapic_timer_always_reliable check in intel_idle() is
redundant and apart from this lapic_timer_always_reliable is only
used in two places in which boot_cpu_has(X86_FEATURE_ARAT) can be
used directly.
Eliminate the lapic_timer_always_reliable variable in accordance
with the above observations.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions