diff options
| author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2025-04-25 14:13:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 14:46:31 +0300 |
| commit | f49573f2f53e0f6f74a58895437a46580d1a0033 (patch) | |
| tree | eab5e3aaca0761e023b9a1a89b480d964773bb90 /include/linux/timerqueue.h | |
| parent | 3eabc1a34b95c39c698fd659babdfd9af05ef845 (diff) | |
| download | linux-f49573f2f53e0f6f74a58895437a46580d1a0033.tar.xz | |
tty: use lock guard()s in tty_io
guard()s and scoped_guard()s express more clearly what is protected by
locks. And also makes the code cleaner as it can return immediately in
case of short returns.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250425111315.1036184-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
