diff options
author | 2024-08-26 18:31:32 +0200 | |
---|---|---|
committer | 2024-09-05 12:33:18 +0200 | |
commit | fcfacd544b74ee76de6fd8642340345669da407b (patch) | |
tree | 0fc114a2fc5a766d9e7e80012c4d8072923a51da /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | thermal: core: Drop redundant lockdep_assert_held() (diff) | |
download | wireguard-linux-fcfacd544b74ee76de6fd8642340345669da407b.tar.xz wireguard-linux-fcfacd544b74ee76de6fd8642340345669da407b.zip |
thermal: core: Drop dead code from monitor_thermal_zone()
Since monitor_thermal_zone() is only called when the given thermal zone
has been enabled, as per the thermal_zone_device_is_enabled() check in
__thermal_zone_device_update(), the tz->mode check in it always
evaluates to "false" and the thermal_zone_device_set_polling()
invocation depending on it is dead code, so drop it.
No functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/10547425.nUPlyArG6x@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions