summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2025-10-27 17:29:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-28 17:25:41 +0300
commit0f4f88bfd7e7bf3f3293045fffdc63586b0a889f (patch)
treea272f7658ebd864b715b066b967956fa92abe435 /tools/lib/python
parentaed482b53a866ecb5b46f8936462048584cf9b37 (diff)
downloadlinux-0f4f88bfd7e7bf3f3293045fffdc63586b0a889f.tar.xz
serial: sc16is7xx: use guards for simple mutex locks
Guards can help to make the code more readable, so use them wherever they do so. In sc16is7xx_port_irq(), labels and 'rc' locals are eliminated completely. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://patch.msgid.link/20251027142957.1032073-6-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions