diff options
author | Dmitry Torokhov <[email protected]> | 2024-08-24 22:16:07 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-09-05 22:53:11 -0700 |
commit | 934976f61eceab661cce492831448e01d1b89e4b (patch) | |
tree | 7c9ee229f8ec81328c68bebf39a1ea83bb4c37d4 /tools/perf/scripts/python | |
parent | d5322d537c2355fb2e7b1b0362a21e9c87c4b585 (diff) |
Input: atkbd - 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.
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions