aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-11-22 17:57:05 +0000
committerZhang Rui <[email protected]>2016-11-30 10:24:38 +0800
commit89baa56be7fad333db0a91198bf4026017ab737d (patch)
treea9154ef268c1f2fda4a7a8f89c899a3a52fa993f /tools/perf/scripts/python/call-graph-from-postgresql.py
parent768bd13c93c043a7793dca6d98ba75572bb9b956 (diff)
thermal/x86_pkg_temp: Remove redundant package search
In pkg_temp_thermal_device_remove() the package device is searched at the beginning of the function. When the device refcount becomes zero another search for the same device is conducted. Remove the pointless loop and use the device pointer which was retrieved at the beginning of the function. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions