diff options
author | Bernard Zhao <[email protected]> | 2020-10-26 18:37:42 -0700 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-10-27 09:53:19 +0100 |
commit | 37b2539e63d6570c9ee51b1d48bdecb334df367d (patch) | |
tree | 93493738f49dbde1a758515cb75d18376e7780f4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 345a8af7ea63ac75a9000159d6298769d3d50f91 (diff) |
drivers/thermal/core: Optimize trip points check
The trip points are checked one by one with multiple condition
branches where one condition is enough to disable the trip point.
Merge all these conditions in a single 'OR' statement.
Signed-off-by: Bernard Zhao <[email protected]>
Suggested-by: Daniel Lezcano <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[dlezcano] Changed patch description
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions