projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4581ca
)
tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytes
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 27 Oct 2015 16:40:02 +0000
(17:40 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000
(19:59 -0800)
This function compiles to 72 bytes of machine code.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/tty_ldisc.c
b/drivers/tty/tty_ldisc.c
index 629e3c865072035f14fd4e6ece5a2544bcbf713c..7d43ff12f6e200768557e3019051db55d9ad70db 100644
(file)
--- a/
drivers/tty/tty_ldisc.c
+++ b/
drivers/tty/tty_ldisc.c
@@
-185,7
+185,7
@@
static struct tty_ldisc *tty_ldisc_get(struct tty_struct *tty, int disc)
*
* Complement of tty_ldisc_get().
*/
-static
inline
void tty_ldisc_put(struct tty_ldisc *ld)
+static void tty_ldisc_put(struct tty_ldisc *ld)
{
if (WARN_ON_ONCE(!ld))
return;