From: Jiri Slaby Date: Wed, 5 May 2021 09:19:03 +0000 (+0200) Subject: n_tty: remove superfluous return from n_tty_receive_signal_char X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fc0df90b781145525c8d4ccaeccb6dcb8f810ce7;p=linux.git 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 Link: https://lore.kernel.org/r/20210505091928.22010-11-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 01883e5c8bbd7..0d93be26c6785 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; } /**