diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-05-05 11:19:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 16:57:16 +0200 |
commit | fc0df90b781145525c8d4ccaeccb6dcb8f810ce7 (patch) | |
tree | 71df4175a661fc5bd30d2d86aca0fb5f166b1191 /drivers/tty/n_tty.c | |
parent | n_tty: invert TTY_NORMAL condition in n_tty_receive_buf_standard (diff) | |
download | linux-fc0df90b781145525c8d4ccaeccb6dcb8f810ce7.tar.xz linux-fc0df90b781145525c8d4ccaeccb6dcb8f810ce7.zip |
n_tty: remove superfluous return from n_tty_receive_signal_char
A return at the end of a void-returning function is superfluous. Get rid
of it.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210505091928.22010-11-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r-- | drivers/tty/n_tty.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 01883e5c8bbd..0d93be26c678 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -1245,7 +1245,6 @@ n_tty_receive_signal_char(struct tty_struct *tty, int signal, unsigned char c) commit_echoes(tty); } else process_echoes(tty); - return; } /** |