From: Denys Vlasenko <dvlasenk@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Denys Vlasenko <dvlasenk@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Peter Hurley <peter@hurleysoftware.com>,
Jiri Slaby <jslaby@suse.com>,
linux-serial@vger.kernel.org
Subject: [PATCH 7/8] serial_core: Deinline uart_update_mctrl, save 304 bytes
Date: Tue, 27 Oct 2015 17:40:01 +0100 [thread overview]
Message-ID: <1445964002-10093-8-git-send-email-dvlasenk@redhat.com> (raw)
In-Reply-To: <1445964002-10093-1-git-send-email-dvlasenk@redhat.com>
This function compiles to 92 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/serial/serial_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 603d2cc..0eed1fc 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -110,7 +110,7 @@ static void uart_start(struct tty_struct *tty)
spin_unlock_irqrestore(&port->lock, flags);
}
-static inline void
+static void
uart_update_mctrl(struct uart_port *port, unsigned int set, unsigned int clear)
{
unsigned long flags;
--
1.8.1.4
next prev parent reply other threads:[~2015-10-27 16:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 16:39 [PATCH 0/8] drivers/tty/: Deinline functions when it saves at least 300 bytes per function Denys Vlasenko
2015-10-27 16:39 ` [PATCH 1/8] cyclades: Deinline cyy_readb, save 368 bytes Denys Vlasenko
2015-10-27 16:39 ` [PATCH 2/8] cyclades: Deinline cyy_writeb, save 880 bytes Denys Vlasenko
2015-10-27 16:39 ` [PATCH 3/8] cyclades: Deinline serial_paranoia_check, save 304 bytes Denys Vlasenko
2015-10-27 16:39 ` [PATCH 4/8] isicom: Deinline WaitTillCardIsFree, save 1120 bytes Denys Vlasenko
2015-10-27 16:39 ` [PATCH 5/8] serial/bcm63xx_uart: Deinline wait_for_xmitr, save 374 bytes Denys Vlasenko
2015-10-27 16:40 ` [PATCH 6/8] serial/jsm: Deinline neo_parse_isr, save 688 bytes Denys Vlasenko
2015-10-27 16:40 ` Denys Vlasenko [this message]
2015-10-27 16:40 ` [PATCH 8/8] tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytes Denys Vlasenko
2015-10-27 17:00 ` [PATCH 0/8] drivers/tty/: Deinline functions when it saves at least 300 bytes per function Peter Hurley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445964002-10093-8-git-send-email-dvlasenk@redhat.com \
--to=dvlasenk@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=peter@hurleysoftware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).