diff options
author | Xiaofei Tan <tanxiaofei@huawei.com> | 2021-05-12 17:26:24 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 18:29:13 +0200 |
commit | 54ad59a25ad1e2ec2eb24156a899aaa8e3411376 (patch) | |
tree | f873517d4a11092d6b0d89f88bf9bed9678f4818 | |
parent | 16d15f747a099f107f4522547a75a3b9b658131b (diff) | |
download | linux-stable-54ad59a25ad1e2ec2eb24156a899aaa8e3411376.tar.gz linux-stable-54ad59a25ad1e2ec2eb24156a899aaa8e3411376.tar.bz2 linux-stable-54ad59a25ad1e2ec2eb24156a899aaa8e3411376.zip |
tty: tty_port: Add a blank line after declarations
Add a blank line after declarations, reported by checkpatch.pl.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1620811585-18582-17-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/tty_port.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index 7557bcd84b27..189c2fa09c6d 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c @@ -688,6 +688,7 @@ int tty_port_open(struct tty_port *port, struct tty_struct *tty, clear_bit(TTY_IO_ERROR, &tty->flags); if (port->ops->activate) { int retval = port->ops->activate(port, tty); + if (retval) { mutex_unlock(&port->mutex); return retval; |