diff options
author | 2024-03-28 19:52:06 +0100 | |
---|---|---|
committer | 2024-04-02 12:56:40 +0200 | |
commit | 0f2828e17b6f41b8b345f0031e3fe58529991748 (patch) | |
tree | a2d6fcbe7a1712916b507201029f41d9b24a1eeb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: intel_pstate: Wait for canceled delayed work to complete (diff) | |
download | wireguard-linux-0f2828e17b6f41b8b345f0031e3fe58529991748.tar.xz wireguard-linux-0f2828e17b6f41b8b345f0031e3fe58529991748.zip |
cpufreq: intel_pstate: Get rid of unnecessary READ_ONCE() annotations
Drop two redundant checks involving READ_ONCE() from notify_hwp_interrupt()
and make it check hwp_active without READ_ONCE() which is not necessary,
because that variable is only set once during the early initialization of
the driver.
In order to make that clear, annotate hwp_active with __ro_after_init.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions