Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63744a69 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman
Browse files

serial/sprd_serial: Deinline wait_for_xmitr, save 165 bytes



This function compiles to 141 bytes of machine code.

Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be9ae5d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;