]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial, join uport checks in uart_port_shutdown()
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Nov 2021 07:19:11 +0000 (08:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Nov 2021 17:31:32 +0000 (18:31 +0100)
commit43d9f87cec3ff94cf78d5d05450ed97b37fb67b8
tree189a87cf127f8d019cd6ad7eb742b69f3d83525b
parent7a0c5fd488bc9004382de2e5188310c1bbc45a21
tty: serial, join uport checks in uart_port_shutdown()

There are two consequent checks of uport != NULL in
uart_port_shutdown(). Join these two under a single block.

De-multiline the comments when shuffling with them anyway.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20211118071911.12059-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c