Messages in this thread Patch in this message | | | From | Denys Vlasenko <> | Subject | [PATCH 8/8] tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytes | Date | Tue, 27 Oct 2015 17:40:02 +0100 |
| |
This function compiles to 72 bytes of machine code.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CC: Peter Hurley <peter@hurleysoftware.com> CC: Jiri Slaby <jslaby@suse.com> CC: linux-serial@vger.kernel.org --- drivers/tty/tty_ldisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 71750cb..14c4ad8 100644 --- 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; -- 1.8.1.4
| |