projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f2a13
)
n_tty: remove superfluous return from n_tty_receive_signal_char
author
Jiri Slaby
<jslaby@suse.cz>
Wed, 5 May 2021 09:19:03 +0000
(11:19 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:57:16 +0000
(16:57 +0200)
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>
drivers/tty/n_tty.c
patch
|
blob
|
history
diff --git
a/drivers/tty/n_tty.c
b/drivers/tty/n_tty.c
index 01883e5c8bbd78dac853bf86121fcb4bf603230d..0d93be26c67859c3cdeeb12cc660cf8cceb6226b 100644
(file)
--- 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;
}
/**