Home
last modified time | relevance | path

Searched hist:"5879 adbff5aad0436298db006a922dd576339c7f" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dserial_core.cdiff 5879adbff5aad0436298db006a922dd576339c7f Thu Aug 08 12:35:37 CEST 2024 Jiri Slaby (SUSE) <jirislaby@kernel.org> 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>