aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/tty/serial/sprd_serial.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2015-10-27 18:46:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-13 19:59:48 -0800
commit63744a690280d5b6981231072ba147c0c8b6da2e (patch)
treea161743f6c76592ad88b87a4020c2057c8d360a1 /drivers/tty/serial/sprd_serial.c
parentserial/pxa: Deinline wait_for_xmitr, save 165 bytes (diff)
downloadwireguard-linux-63744a690280d5b6981231072ba147c0c8b6da2e.tar.xz
wireguard-linux-63744a690280d5b6981231072ba147c0c8b6da2e.zip
serial/sprd_serial: Deinline wait_for_xmitr, save 165 bytes
This function compiles to 141 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>
Diffstat (limited to 'drivers/tty/serial/sprd_serial.c')
-rw-r--r--drivers/tty/serial/sprd_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index 9dbae01d41ce..ef26c4a60be4 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -517,7 +517,7 @@ static struct uart_ops serial_sprd_ops = {
};
#ifdef CONFIG_SERIAL_SPRD_CONSOLE
-static inline void wait_for_xmitr(struct uart_port *port)
+static void wait_for_xmitr(struct uart_port *port)
{
unsigned int status, tmout = 10000;