]> Git Repo - linux.git/commitdiff
tty: tty_ldisc: Add a blank line after declarations
authorXiaofei Tan <[email protected]>
Wed, 7 Apr 2021 07:06:47 +0000 (15:06 +0800)
committerGreg Kroah-Hartman <[email protected]>
Sat, 10 Apr 2021 08:33:00 +0000 (10:33 +0200)
Add a blank line after declarations, reported by checkpatch.pl.

Signed-off-by: Xiaofei Tan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/tty_ldisc.c

index 2992319022cc3f151f0c011ddb353a8b5998d134..df0b58905eb79d5f5dffec801765202602359a89 100644 (file)
@@ -771,6 +771,7 @@ void tty_ldisc_hangup(struct tty_struct *tty, bool reinit)
 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty)
 {
        int retval = tty_ldisc_open(tty, tty->ldisc);
+
        if (retval)
                return retval;
 
@@ -829,6 +830,7 @@ EXPORT_SYMBOL_GPL(tty_ldisc_release);
 int tty_ldisc_init(struct tty_struct *tty)
 {
        struct tty_ldisc *ld = tty_ldisc_get(tty, N_TTY);
+
        if (IS_ERR(ld))
                return PTR_ERR(ld);
        tty->ldisc = ld;
This page took 0.045021 seconds and 4 git commands to generate.