aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:21 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:35 -0700
commitf9f37373ff02b64a46b266d25d680a061ed13a8d (patch)
tree6e74b2f707dbad5450dd5d41cd8c761bf84b02d4 /tools/perf/scripts/python
parent45a81459722aa48de343910001355b0108b9c16b (diff)
Input: ad714x - 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: Javier Carrasco <[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