summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:30:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:07:31 -0700
commit60bf2f938980cb464dabab11d41eb37c49fe39ca (patch)
treef0e794e1711d34975d0ee800f59f393c4cdaa7f8 /tools/lib/python/kdoc
parent556cac064c16f5f2eb17d442c1a78797ad2c962f (diff)
Input: gamecon - 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-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions