serial/sunsu: 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>
This commit is contained in:
Denys Vlasenko 2015-10-27 18:46:43 +01:00 committed by Greg Kroah-Hartman
parent 63744a6902
commit 0d5547ca1b

View file

@ -1262,7 +1262,7 @@ static int sunsu_kbd_ms_init(struct uart_sunsu_port *up)
/*
* Wait for transmitter & holding register to empty
*/
static __inline__ void wait_for_xmitr(struct uart_sunsu_port *up)
static void wait_for_xmitr(struct uart_sunsu_port *up)
{
unsigned int status, tmout = 10000;