diff options
| author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2026-07-03 10:47:17 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-03 13:01:52 +0200 |
| commit | e508a176d86f5ca0916ac1caf80806f9ad3d91ef (patch) | |
| tree | 678bcb04d1ec021d5b85f483da3415d5867ff53d /tools/perf/scripts/python | |
| parent | e31bd02f19ddb01c1e1fb6d79b72ace8f014cb27 (diff) | |
tty: goldfish: use guard() for locks
Using guard()s is cleaner and safer.
goldfish_tty_probe() is omitted due to the crossing err_unmap
goto-label. Using scoped_guard() does not look that nice there. Perhaps
if someone refactored the locked part into a separate function...
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://patch.msgid.link/20260703084717.176442-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
