projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb3e466
)
n_tty: Un-inline slow-path n_tty_receive_char_closing()
author
Peter Hurley
<peter@hurleysoftware.com>
Mon, 2 Dec 2013 19:24:43 +0000
(14:24 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 00:51:07 +0000
(16:51 -0800)
Although n_tty_receive_char_closing() only has one call-site,
let the compiler inline instead.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/n_tty.c
b/drivers/tty/n_tty.c
index 8c20a52557eab43522fe13178c3fd0e5a94eab13..582a05c012f074cc5c7d86423bbe4fb43c5ca1a1 100644
(file)
--- a/
drivers/tty/n_tty.c
+++ b/
drivers/tty/n_tty.c
@@
-1442,8
+1442,7
@@
n_tty_receive_char_fast(struct tty_struct *tty, unsigned char c)
put_tty_queue(c, ldata);
}
-static inline void
-n_tty_receive_char_closing(struct tty_struct *tty, unsigned char c)
+static void n_tty_receive_char_closing(struct tty_struct *tty, unsigned char c)
{
if (I_ISTRIP(tty))
c &= 0x7f;