serial/m32r_sio: 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:
parent
9428d712d1
commit
9cdb933274
|
@ -990,7 +990,7 @@ static void __init m32r_sio_register_ports(struct uart_driver *drv)
|
|||
/*
|
||||
* Wait for transmitter & holding register to empty
|
||||
*/
|
||||
static inline void wait_for_xmitr(struct uart_sio_port *up)
|
||||
static void wait_for_xmitr(struct uart_sio_port *up)
|
||||
{
|
||||
unsigned int status, tmout = 10000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue