diff options
author | 2024-08-24 22:30:57 -0700 | |
---|---|---|
committer | 2024-09-05 22:52:37 -0700 | |
commit | d5322d537c2355fb2e7b1b0362a21e9c87c4b585 (patch) | |
tree | a779470af67ca6599e53ab5b15a97a38f203db04 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dt-bindings: input: convert rotary-encoder to yaml (diff) | |
download | wireguard-linux-d5322d537c2355fb2e7b1b0362a21e9c87c4b585.tar.xz wireguard-linux-d5322d537c2355fb2e7b1b0362a21e9c87c4b585.zip |
Input: alps - use guard notation when acquiring mutex
This makes the code more compact and error handling more robust
by ensuring that mutexes are released in all code paths when control
leaves critical section.
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/ZsrBkWIpyEqzClUG@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions