summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-08-19 18:52:54 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-08-22 18:43:14 +0300
commiteb3591cde1aee34c56b5dc96d9b247349827024f (patch)
tree37c14e1e206d3ee73be6d229f46f6cf267a74503 /tools/perf/scripts/python/sctop.py
parentb4e6d39817312919f907da266de202a30a7bc43b (diff)
downloadlinux-eb3591cde1aee34c56b5dc96d9b247349827024f.tar.xz
thermal: core: Drop redundant thermal instance checks
Because the trip and cdev pointers are sufficient to identify a thermal instance holding them unambiguously, drop the additional thermal zone checks from two loops walking the list of thermal instances in a thermal zone. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Zhang Rui <rui.zhang@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://patch.msgid.link/10527734.nUPlyArG6x@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions