summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:30:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:07:31 -0700
commit556cac064c16f5f2eb17d442c1a78797ad2c962f (patch)
treeba04a501e39603952950d58c197de71df447af47 /tools/lib/python
parentb18d9d75dd5996e73fd9dba196cc077f1977f410 (diff)
Input: db9 - use guard notation when acquiring mutex
Using guard notation 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. Link: https://lore.kernel.org/r/20240904043104.1030257-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions