1
0
Fork 0

serial/vt8500_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>
hifive-unleashed-5.1
Denys Vlasenko 2015-10-27 18:46:44 +01:00 committed by Greg Kroah-Hartman
parent 0d5547ca1b
commit eba3b47b26
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ static struct uart_driver vt8500_uart_driver;
#ifdef CONFIG_SERIAL_VT8500_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;