diff options
author | André Almeida <[email protected]> | 2020-07-02 17:28:43 -0300 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-07-18 01:56:08 +0200 |
commit | 9261308598ad28b9a8a2237d881833e9f217244e (patch) | |
tree | 920df620f5b8b507004752dce90a4eb58b2c87da /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d7c5ed73b19c4640426d9c106f70ec2cb532034d (diff) |
futex: Consistently use fshared as boolean
Since fshared is only conveying true/false values, declare it as bool.
In get_futex_key() the usage of fshared can be restricted to the first part
of the function. If fshared is false the function is terminated early and
the subsequent code can use a constant 'true' instead of the variable.
Signed-off-by: André Almeida <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions