diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-12-02 20:24:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-09 01:51:07 +0100 |
commit | 8dc4b25d2325002f716fffe2e35c9af43639c60f (patch) | |
tree | 3c94fb5d0518e1af766d0a116bf572524112188a /drivers/tty/n_tty.c | |
parent | n_tty: Un-inline slow-path n_tty_receive_char() (diff) | |
download | linux-8dc4b25d2325002f716fffe2e35c9af43639c60f.tar.xz linux-8dc4b25d2325002f716fffe2e35c9af43639c60f.zip |
n_tty: Un-inline slow-path n_tty_receive_char_closing()
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>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r-- | drivers/tty/n_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 8c20a52557ea..582a05c012f0 100644 --- 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; |