summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:47:55 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:36 +0300
commitd88460e48014a279b95e77ef24074c401f9d37c6 (patch)
tree911ecd31e71a6f41bdd12f5428deb76158aa3638 /tools/perf/scripts/python
parent543429257d8884742127006eeb6a0ec543dd332f (diff)
downloadlinux-d88460e48014a279b95e77ef24074c401f9d37c6.tar.xz
Input: iqs269a - 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. Reviewed-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/20240904044756.1047629-1-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions