summaryrefslogtreecommitdiffstats
path: root/samples/timers
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-08-08 12:35:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-14 08:25:20 +0200
commit5879adbff5aad0436298db006a922dd576339c7f (patch)
tree39e99f6af0521ee899a4ee447334e6b9a9c823f3 /samples/timers
parent98e24a58b597d888f604f0de43fcf5eb5eb204b4 (diff)
downloadlinux-5879adbff5aad0436298db006a922dd576339c7f.tar.gz
linux-5879adbff5aad0436298db006a922dd576339c7f.tar.bz2
linux-5879adbff5aad0436298db006a922dd576339c7f.zip
serial: use guards for simple mutex locks
Guards can help to make the code more readable. So use it wherever they do so. On many places labels and 'ret' locals are eliminated completely. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20240808103549.429349-2-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions